fetch:解决循环依赖
This commit is contained in:
@@ -16,6 +16,7 @@ import com.adc.da.utils.util.ListUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
@@ -39,6 +40,7 @@ public class TsRoleServiceImpl extends ServiceImpl<TsRoleDao, TsRole> implements
|
||||
@Autowired
|
||||
private ISarMenuService sarMenuService;
|
||||
@Autowired
|
||||
@Lazy
|
||||
private ISarUserPersonalMenuService sarUserPersonalMenuService;
|
||||
/**
|
||||
* 查询所有角色
|
||||
|
||||
Reference in New Issue
Block a user