From 36c7ff87bec2f261b28859bfb9cb7c1692e3d0ed Mon Sep 17 00:00:00 2001
From: fujunling <2984387807@qq.com>
Date: 星期四, 08 六月 2023 15:26:30 +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/StatusServiceImpl.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/StatusServiceImpl.java b/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/StatusServiceImpl.java
index 460ec37..5193ccc 100644
--- a/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/StatusServiceImpl.java
+++ b/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/StatusServiceImpl.java
@@ -4,6 +4,7 @@
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.baomidou.mybatisplus.core.toolkit.Wrappers;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.vci.ubcs.omd.constant.BtmTypeConstant;
 import com.vci.ubcs.omd.entity.Status;
 import com.vci.ubcs.omd.mapper.StatusMapper;
 import com.vci.ubcs.omd.service.IStatusService;
@@ -273,7 +274,6 @@
 		Set<String> idSet = new HashSet<>();
 		String creator = AuthUtil.getUserAccount();
 		Date now = new Date();
-		String btmName = "status";
 		Pattern pattern = Pattern.compile(REGEXP);
 		statusVOList.forEach(s -> {
 			if (!pattern.matcher(s.getId()).matches()){
@@ -288,7 +288,7 @@
 			if(StringUtils.isBlank(s.getOid())){
 				s.setOid(VciBaseUtil.getPk());
 			}
-			s.setBtmName(btmName);
+			s.setBtmName(BtmTypeConstant.STATUS);
 			s.setOwner(creator);
 			s.setCreator(creator);
 			s.setCreateTime(now);

--
Gitblit v1.9.3