解决循环依赖报错
This commit is contained in:
parent
1da1e6bcc1
commit
2651a88b38
|
|
@ -69,6 +69,7 @@ import org.jetbrains.annotations.Nullable;
|
||||||
import org.springframework.beans.BeanUtils;
|
import org.springframework.beans.BeanUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.cache.annotation.Cacheable;
|
import org.springframework.cache.annotation.Cacheable;
|
||||||
|
import org.springframework.context.annotation.Lazy;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.ui.freemarker.FreeMarkerTemplateUtils;
|
import org.springframework.ui.freemarker.FreeMarkerTemplateUtils;
|
||||||
import org.springframework.util.AntPathMatcher;
|
import org.springframework.util.AntPathMatcher;
|
||||||
|
|
@ -158,6 +159,7 @@ public class SysBaseApiImpl implements ISysBaseAPI {
|
||||||
private DataSourceLoader dataSourceLoader;
|
private DataSourceLoader dataSourceLoader;
|
||||||
@Autowired
|
@Autowired
|
||||||
private RabbitMQUtil rabbitMQUtil;
|
private RabbitMQUtil rabbitMQUtil;
|
||||||
|
@Lazy
|
||||||
@Autowired
|
@Autowired
|
||||||
private IEmployeesAdvisioryInfoApi employeesAdvisioryInfoApi;
|
private IEmployeesAdvisioryInfoApi employeesAdvisioryInfoApi;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue