From 7d664155daa36eded1894c5d396989a3ebde31d8 Mon Sep 17 00:00:00 2001 From: 李宇 <986321569@qq.com> Date: 星期五, 11 六月 2021 16:59:34 +0800 Subject: [PATCH] 修改配置 --- src/main/java/com/nanometer/smartlab/service/OpeApplyServiceImpl.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/nanometer/smartlab/service/OpeApplyServiceImpl.java b/src/main/java/com/nanometer/smartlab/service/OpeApplyServiceImpl.java index e21f8ba..e84cdfa 100644 --- a/src/main/java/com/nanometer/smartlab/service/OpeApplyServiceImpl.java +++ b/src/main/java/com/nanometer/smartlab/service/OpeApplyServiceImpl.java @@ -15,6 +15,7 @@ import com.nanometer.smartlab.util.MessageUtil; 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,10 +42,13 @@ @Resource(name = "opeApplyDao") OpeApplyDao opeApplyDao; + @Lazy @Resource OpeOrderService opeOrderService; + @Lazy @Resource OpeReagentStatusService opeReagentStatusService; + @Lazy @Resource OpeWarehouseReserveService opeWarehouseReserveService; -- Gitblit v1.9.2