From f6b6ea193719ef3e72baf0e140dbd63ad5b83bff Mon Sep 17 00:00:00 2001
From: zhangxp <zhangxp@chicecm.com>
Date: 星期五, 26 五月 2023 18:23:52 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs

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

diff --git a/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/RevisionRuleServiceImpl.java b/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/RevisionRuleServiceImpl.java
index 01f6cf0..9741d8a 100644
--- a/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/RevisionRuleServiceImpl.java
+++ b/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/RevisionRuleServiceImpl.java
@@ -6,6 +6,7 @@
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import com.github.yulichang.wrapper.MPJLambdaWrapper;
+import com.vci.ubcs.omd.constant.BtmTypeConstant;
 import com.vci.ubcs.omd.dto.RevisionRuleDTO;
 import com.vci.ubcs.omd.entity.BtmType;
 import com.vci.ubcs.omd.entity.RevisionRule;
@@ -212,7 +213,6 @@
 		Set<String> idSet = new HashSet<>();
 		String creator = AuthUtil.getUserAccount();
 		Date now = new Date();
-		String btmName = "revision-rule";
 		List<RevisionRule> revisionRuleList = new ArrayList<>();
 		revisionRuleDTOList.forEach(s -> {
 			//鍒ゆ柇涓虹┖
@@ -231,7 +231,7 @@
 			ruleDO.setCreator(creator);
 			ruleDO.setCreateTime(now);
 			ruleDO.setOwner(creator);
-			ruleDO.setBtmName(btmName);
+			ruleDO.setBtmName(BtmTypeConstant.REVISION_RULE);
 			ruleDO.setTs(now);
 			ruleDO.setLastModifier(creator);
 			ruleDO.setLastModifyTime(now);

--
Gitblit v1.9.3