From 007eff2ea8fbacf5356faa00c62b773b08d83666 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期二, 25 七月 2023 15:04:57 +0800 Subject: [PATCH] 1、增加同一个父分类下编码不能重复的逻辑。 --- Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/CodeReferBtmTypeServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/CodeReferBtmTypeServiceImpl.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/CodeReferBtmTypeServiceImpl.java index 62b83ca..c8eb71f 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/CodeReferBtmTypeServiceImpl.java +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/CodeReferBtmTypeServiceImpl.java @@ -50,7 +50,7 @@ conditionMap.put("domain", AppConstant.APPLICATION_NAME_CODE); baseQueryObject.setConditionMap(conditionMap); R<Page<BtmTypeVO>> btmTypeClientRefPage = btmTypeClient.getRefPage(baseQueryObject); - if(btmTypeClientRefPage.getCode() != 200){ + if(!btmTypeClientRefPage.isSuccess()){ throw new ServiceException("涓氬姟绫诲瀷feign鎺ュ彛璋冪敤閿欒"); } return btmTypeClientRefPage.getData(); -- Gitblit v1.9.3