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-omd/src/main/java/com/vci/ubcs/omd/wrapper/LinkTypeWrapper.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/wrapper/LinkTypeWrapper.java b/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/wrapper/LinkTypeWrapper.java index 1acd514..efef233 100644 --- a/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/wrapper/LinkTypeWrapper.java +++ b/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/wrapper/LinkTypeWrapper.java @@ -49,7 +49,7 @@ }); vo.setFromBtmTypes(fromBtm); vo.setToBtmTypes(toBtm); - vo.setTableName(vo.getTableName().toUpperCase(Locale.ROOT)); + vo.setTableName(Optional.ofNullable(vo.getTableName()).orElseGet(String::new).toUpperCase(Locale.ROOT)); // 鏋氫妇澶勭悊 vo.setDomainText(NewAppConstantEnum.getTextByName(vo.getBizDomain())); return vo; -- Gitblit v1.9.3