解决循环依赖报错

This commit is contained in:
1378012178@qq.com 2026-03-06 10:59:55 +08:00
parent 1da1e6bcc1
commit 2651a88b38
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@ import org.jetbrains.annotations.Nullable;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.ui.freemarker.FreeMarkerTemplateUtils;
import org.springframework.util.AntPathMatcher;
@ -158,6 +159,7 @@ public class SysBaseApiImpl implements ISysBaseAPI {
private DataSourceLoader dataSourceLoader;
@Autowired
private RabbitMQUtil rabbitMQUtil;
@Lazy
@Autowired
private IEmployeesAdvisioryInfoApi employeesAdvisioryInfoApi;