From eff08b9e2986b91615620c0fa47c2de2170f7a78 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 30 一月 2024 16:52:24 +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.10.0