提交 0d88aedd 作者: 典文龙

增加@Lazy注解

上级 27cd055d
......@@ -18,6 +18,7 @@ import com.yaoyaozw.customer.vo.AuthInfoVO;
import com.yaoyaozw.customer.vo.kanban.AccountSetupVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
......@@ -38,6 +39,7 @@ public class DistributeServiceImpl extends ServiceImpl<AccountDistributeLogMappe
@Autowired
private KanbanCommonMapper kanbanCommonMapper;
@Autowired
@Lazy
private MyExecutorDistributeService myExecutorDistributeService;
......
......@@ -11,6 +11,7 @@ import com.yaoyaozw.customer.service.*;
import com.yaoyaozw.customer.vo.AuthInfoVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
......@@ -39,7 +40,8 @@ public class MyExecutorDistributeServiceImpl implements MyExecutorDistributeServ
private MaterialMenuConfigService materialMenuConfigService;
@Autowired
private MaterialMenuMainService materialMenuMainService;
@Autowired
@Autowired()
@Lazy
private DistributeService distributeService;
@Override
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论