From 695e4a085727ef5017597dd1ab72a47d0e9883e6 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期二, 30 五月 2023 19:19:55 +0800 Subject: [PATCH] 代码整合 --- Source/UBCS/ubcs-service/ubcs-webservice/src/main/java/com/vci/ubcs/code/webservice/controller/DockingPreApplyCodeController.java | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-webservice/src/main/java/com/vci/ubcs/code/webservice/controller/DockingPreApplyCodeController.java b/Source/UBCS/ubcs-service/ubcs-webservice/src/main/java/com/vci/ubcs/code/webservice/controller/DockingPreApplyCodeController.java index 22951d0..7e52aaa 100644 --- a/Source/UBCS/ubcs-service/ubcs-webservice/src/main/java/com/vci/ubcs/code/webservice/controller/DockingPreApplyCodeController.java +++ b/Source/UBCS/ubcs-service/ubcs-webservice/src/main/java/com/vci/ubcs/code/webservice/controller/DockingPreApplyCodeController.java @@ -4,14 +4,12 @@ import com.baomidou.mybatisplus.core.metadata.IPage; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.vci.ubcs.code.webservice.service.*; +import com.vci.ubcs.code.webservice.vo.*; import com.vci.ubcs.code.webservice.wrapper.DockingPreApplyFormWrapper; +import com.vci.ubcs.starter.exception.VciBaseException; import com.vci.ubcs.starter.revision.model.TreeQueryObject; import com.vci.ubcs.starter.web.pagemodel.Tree; import com.vci.ubcs.code.webservice.entity.DockingPreApplyForm; -import com.vci.ubcs.code.webservice.vo.BaseModelVO; -import com.vci.ubcs.code.webservice.vo.DockingPreApplyFormVO; -import com.vci.ubcs.code.webservice.vo.DockingPreAttrMappingVO; -import com.vci.ubcs.code.webservice.vo.DockingPreAttrRangeVO; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.AllArgsConstructor; @@ -144,4 +142,21 @@ return R.fail("闆嗗洟鐮佺敵璇峰け璐ワ細"+e.getMessage()); } } + + /*** + * 鍚屾闆嗗洟妯″瀷瑙嗗浘 + * @return 杩斿洖鎵ц缁撴灉淇℃伅 + */ + @PostMapping( "/syncClassifyModel") + @ApiOperationSupport(order = 2) + @ApiOperation(value = "鍚屾闆嗗洟妯″瀷瑙嗗浘", notes = "鍚屾闆嗗洟妯″瀷瑙嗗浘->all:鍚屾闆嗗洟涓绘ā鍨�,one:鍚屾闆嗗洟妯″瀷璇︾粏淇℃伅") + public R syncClassifyModel(String classifyId,String operationType){ + try { + return groupMdmInterService.syncClassifyModel(classifyId,operationType); + }catch (VciBaseException e){ + return R.fail("鍚屾闆嗗洟妯″瀷瑙嗗浘澶辫触锛�"+e.getMessage()); + } + + } + } -- Gitblit v1.9.3