From 0c911e66c760c64bfed2e1c307e70f682403a50d Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期四, 27 七月 2023 11:16:23 +0800 Subject: [PATCH] 1、修改fegin根据英文名称批量查询对象接口无法调通问题。 2、修改条件拼接没有加‘’问题。 --- 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