From d9f277335044119ab1616aa3a3058e03b20633ac Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期四, 20 七月 2023 17:59:40 +0800
Subject: [PATCH] 1、增加ALLCODE数据保存时通过ID判断是否有重复数据如果有重复数据则报错。

---
 Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/processor/ddl/DdlMsMapperProcessor.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/processor/ddl/DdlMsMapperProcessor.java b/Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/processor/ddl/DdlMsMapperProcessor.java
index a21d862..b279937 100644
--- a/Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/processor/ddl/DdlMsMapperProcessor.java
+++ b/Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/processor/ddl/DdlMsMapperProcessor.java
@@ -5,6 +5,7 @@
 import com.vci.ubcs.ddl.mapper.DdlMapper;
 import com.vci.ubcs.starter.util.VciSpringUtil;
 import com.vci.ubcs.starter.web.util.VciBaseUtil;
+import org.springframework.context.annotation.DependsOn;
 import org.springframework.stereotype.Component;
 import org.springframework.util.CollectionUtils;
 
@@ -20,6 +21,7 @@
  * @date 2023/4/24
  */
 @Component
+@DependsOn("vciSpringUtil")
 public class DdlMsMapperProcessor extends DdlMapperProcessor{
 
 	private static DdlMapper mapper = VciSpringUtil.getBean(DdlMSMapper.class);

--
Gitblit v1.9.3