Ver Fonte

日志收集到mq

lianghanqiang há 4 anos atrás
pai
commit
0aa93842d0

+ 2 - 0
src/main/java/org/springblade/ldt/agent/service/impl/AgentRecordServiceImpl.java

@@ -30,6 +30,7 @@ import org.springblade.ldt.agent.vo.AgentRecordVO;
 import org.springblade.ldt.user.entity.LoginUser;
 import org.springblade.ldt.user.service.ILoginUserService;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.annotation.Lazy;
 import org.springframework.stereotype.Service;
 
 /**
@@ -44,6 +45,7 @@ public class AgentRecordServiceImpl extends BaseServiceImpl<AgentRecordMapper, A
 	private ILoginUserService loginUserService;
 
 	@Autowired
+	@Lazy
 	private ICensusService censusService;
 
 	@Override