From c79e850cf9f4262a7644dfd512f671139a221819 Mon Sep 17 00:00:00 2001 From: gdg <764716047@qq.com> Date: 星期一, 22 三月 2021 17:53:46 +0800 Subject: [PATCH] 修改 --- src/main/java/com/nanometer/smartlab/service/OpeReagentStatusServiceImpl.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/nanometer/smartlab/service/OpeReagentStatusServiceImpl.java b/src/main/java/com/nanometer/smartlab/service/OpeReagentStatusServiceImpl.java index fe3ca0b..33cd818 100644 --- a/src/main/java/com/nanometer/smartlab/service/OpeReagentStatusServiceImpl.java +++ b/src/main/java/com/nanometer/smartlab/service/OpeReagentStatusServiceImpl.java @@ -13,6 +13,7 @@ import com.nanometer.smartlab.entity.enumtype.ValidFlag; 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; @@ -41,9 +42,10 @@ @Resource(name = "opeReagentStatusDao") OpeReagentStatusDao opeReagentStatusDao; - + @Lazy @Resource private OpeWarehouseReserveService opeWarehouseReserveService; + @Lazy @Resource private OpeUseFlowService opeUseFlowService; @Resource -- Gitblit v1.9.2