From 6af6557a8d8a525ec3cab33607b8a041ef0968fa Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 08 十一月 2023 11:15:31 +0800
Subject: [PATCH] 历史导入生成编码时添加前后缀代码逻辑添加;历史导入模板下载时查询模板返回的key不区分大小写。

---
 Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeBasicSec.java |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeBasicSec.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeBasicSec.java
index 24a4dee..bd70e71 100644
--- a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeBasicSec.java
+++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeBasicSec.java
@@ -11,6 +11,7 @@
 import lombok.EqualsAndHashCode;
 import org.apache.ibatis.type.Alias;
 
+import javax.validation.constraints.NotBlank;
 import java.sql.Clob;
 
 /**
@@ -33,16 +34,19 @@
 	/**
 	 * 鐮佹淇℃伅
 	 */
+	@NotBlank(message = "鐮佹淇℃伅涓嶈兘涓虹┖")
 	private String id;
 
 	/**
 	 * 鐮佹鍚嶇О
 	 */
+	@NotBlank(message = "鐮佹鍚嶇О涓嶈兘涓虹┖")
 	private String name;
 
 	/**
 	 * 鐮佹绫诲瀷
 	 */
+	@NotBlank(message = "鐮佹绫诲瀷涓嶈兘涓虹┖")
 	private String secType;
 
 	/**
@@ -55,6 +59,7 @@
 	/**
 	 * 鎵�灞炵紪鐮佽鍒�
 	 */
+	@NotBlank(message = "鎵�灞炵紪鐮佽鍒欎笉鑳戒负绌�")
 	private String pkCodeRule;
 
 	/**
@@ -280,4 +285,14 @@
 	 */
 	private Integer serialDependOrder;
 
+	/**
+	 * 鍓嶇紑
+	 */
+	private String prefixCode;
+
+	/**
+	 * 鍚庣紑
+	 */
+	private String suffixCode;
+
 }

--
Gitblit v1.9.3