From 718c4cc47ad2e19f1d15ee81e98d8bf2fae84ba3 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期日, 28 一月 2024 15:40:22 +0800
Subject: [PATCH] 业务类型对象修改

---
 Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/BtmTypeServiceImpl.java |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 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 d984f0a..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,9 +1004,14 @@
 				BtmTypeAttributeVO vo = new BtmTypeAttributeVO();
 				vo.setId(id);
 				vo.setName(name);
-				vo.setIseDfaultAttr(false);
-				vo.setAttrDataType(VciFieldTypeEnum.VTString.name());
-				vo.setAttributeLength(150);
+				vo.setIsDefaultAttr(false);
+				if (Arrays.asList("codeclsfpath").contains(id)){
+					vo.setAttrDataType(VciFieldTypeEnum.VTString.name());
+					vo.setAttributeLength(500);
+				}else {
+					vo.setAttrDataType(VciFieldTypeEnum.VTString.name());
+					vo.setAttributeLength(255);
+				}
 				list.add(vo);
 			});
 		}
@@ -1021,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());
@@ -1041,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);
@@ -1050,4 +1055,5 @@
 
 		return list;
 	}
+
 }

--
Gitblit v1.9.3