From 64352b45add6bee426c2d3042fd141e33106abc2 Mon Sep 17 00:00:00 2001
From: 李宇 <986321569@qq.com>
Date: 星期三, 07 四月 2021 09:43:54 +0800
Subject: [PATCH] 去除导入空白行

---
 src/main/java/com/nanometer/smartlab/service/OpeWarehouseReserveServiceImpl.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/nanometer/smartlab/service/OpeWarehouseReserveServiceImpl.java b/src/main/java/com/nanometer/smartlab/service/OpeWarehouseReserveServiceImpl.java
index 8033b98..2cf787e 100644
--- a/src/main/java/com/nanometer/smartlab/service/OpeWarehouseReserveServiceImpl.java
+++ b/src/main/java/com/nanometer/smartlab/service/OpeWarehouseReserveServiceImpl.java
@@ -16,6 +16,7 @@
 
 import org.apache.commons.lang.StringUtils;
 import org.apache.log4j.Logger;
+import org.springframework.context.annotation.Lazy;
 import org.springframework.dao.DataAccessException;
 import org.springframework.dao.DataIntegrityViolationException;
 import org.springframework.dao.DuplicateKeyException;
@@ -46,6 +47,7 @@
 	@Resource
 	private OpeReagentStatusService opeReagentStatusService;
 
+	@Lazy
     @Resource
     private OpeUseFlowService opeUseFlowService;
 
@@ -235,12 +237,12 @@
 						opeReagentStatus.setUserId(userId);
 						opeReagentStatus.setProjectNum(projectNum);
 						//boolean flag = this.opeReagentStatusService.updateReagentStatus(opeReagentStatus);
-						this.opeReagentStatusService.updateReagentStatus3(opeReagentStatus);
 						ss.add(opeReagentStatus);
 						//更新试剂状态和
 						opeReagentStatus.setHouseId(laboratoryId);
 						opeReagentStatus.setContainerId(laboratoryContainerId);
 						this.opeReagentStatusDao.updateOpeReagentStatusDao(opeReagentStatus);
+						this.opeReagentStatusService.updateReagentStatus3(opeReagentStatus);
 
 					}
 					//更新是现实库存

--
Gitblit v1.9.2