From d1ebae3f837f69af8d7d8f752ebd7b976b56db2a Mon Sep 17 00:00:00 2001
From: xiejun <xiejun@vci-tech.com>
Date: 星期一, 29 一月 2024 09:46:24 +0800
Subject: [PATCH] 获取集团分类根节点前端传null传入后端直接改为空字符串bug修复

---
 Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/BtmTypeServiceImpl.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/BtmTypeServiceImpl.java b/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/BtmTypeServiceImpl.java
index cc1ae87..1d2927e 100644
--- a/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/BtmTypeServiceImpl.java
+++ b/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/BtmTypeServiceImpl.java
@@ -985,7 +985,7 @@
 				BtmTypeAttributeVO vo = new BtmTypeAttributeVO();
 				vo.setId(id);
 				vo.setName(name);
-				vo.setIseDfaultAttr(true);
+				vo.setIsDefaultAttr(true);
 				if ("oid".equals(id)){
 					vo.setNullableFlag(false);
 				}
@@ -1004,7 +1004,7 @@
 				BtmTypeAttributeVO vo = new BtmTypeAttributeVO();
 				vo.setId(id);
 				vo.setName(name);
-				vo.setIseDfaultAttr(false);
+				vo.setIsDefaultAttr(false);
 				if (Arrays.asList("codeclsfpath").contains(id)){
 					vo.setAttrDataType(VciFieldTypeEnum.VTString.name());
 					vo.setAttributeLength(500);
@@ -1026,7 +1026,7 @@
 				// 鐗堟湰瑙勫垯瀛楁涓嶈兘涓虹┖
 //				vo.setNullableFlag(false);
 				vo.setAttributeLength(150);
-				vo.setIseDfaultAttr(true);
+				vo.setIsDefaultAttr(true);
 				if (Arrays.asList("revisionseq","versionseq").contains(id)){
 					vo.setAttributeLength(5);
 					vo.setAttrDataType(VciFieldTypeEnum.VTInteger.name());
@@ -1046,7 +1046,7 @@
 				vo.setId(id);
 				vo.setName(name);
 //				vo.setNullableFlag(false);
-				vo.setIseDfaultAttr(true);
+				vo.setIsDefaultAttr(true);
 				vo.setAttributeLength(50);
 				vo.setAttrDataType(VciFieldTypeEnum.VTString.name());
 				list.add(vo);

--
Gitblit v1.9.3