From d9183aa80ae17d36b79dda48c6b1d7fa22a80ee3 Mon Sep 17 00:00:00 2001 From: xiejun <xiejun@vci-tech.com> Date: 星期三, 22 一月 2025 11:20:41 +0800 Subject: [PATCH] 现场型号代号/人员/组织接口调试 --- Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/wrapper/AttributeWrapper.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/wrapper/AttributeWrapper.java b/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/wrapper/AttributeWrapper.java index 837353b..19d6cb0 100644 --- a/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/wrapper/AttributeWrapper.java +++ b/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/wrapper/AttributeWrapper.java @@ -5,6 +5,7 @@ import com.vci.ubcs.omd.dto.AttributeDTO; import com.vci.ubcs.omd.entity.Attribute; import com.vci.ubcs.omd.vo.*; +import com.vci.ubcs.starter.web.enumpck.BooleanEnum; import com.vci.ubcs.starter.web.util.VciBaseUtil; import com.vci.ubcs.system.cache.DictBizCache; import org.springblade.core.mp.support.BaseEntityWrapper; @@ -77,6 +78,10 @@ attribute.setLastModifier(currentUser); attribute.setLastModifyTime(now); attribute.setTs(now); + if (StringUtil.equals(dto.getUsingDict(),BooleanEnum.TRUE.getValue())){ + attribute.setUsingDict(BooleanEnum.TRUE.getValue()); + } return attribute; } + } -- Gitblit v1.9.3