From b8fb1d580d3cd345c6fb96ff9d54d437c3137fd1 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期一, 25 十二月 2023 17:25:49 +0800 Subject: [PATCH] 1、数据进行状态修改时会报错,且部分数据更改不了。 2、删除数据时会报错。 --- Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/wrapper/LinkTypeWrapper.java | 3 ++- 1 files changed, 2 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 7406ba9..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,8 +49,9 @@ }); vo.setFromBtmTypes(fromBtm); vo.setToBtmTypes(toBtm); + vo.setTableName(Optional.ofNullable(vo.getTableName()).orElseGet(String::new).toUpperCase(Locale.ROOT)); // 鏋氫妇澶勭悊 - vo.setDomainText(NewAppConstantEnum.getTextByName(vo.getDomain())); + vo.setDomainText(NewAppConstantEnum.getTextByName(vo.getBizDomain())); return vo; } -- Gitblit v1.9.3