fetch:解决循环依赖
This commit is contained in:
@@ -17,6 +17,7 @@ import com.adc.da.sys.entity.UserEO;
|
||||
import com.adc.da.utils.util.ListUtil;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
@@ -38,6 +39,7 @@ public class TsUserServiceImpl extends ServiceImpl<TsUserDao, TsUser> implements
|
||||
@Autowired
|
||||
private ITsPositionService tsPositionService;
|
||||
@Autowired
|
||||
@Lazy
|
||||
private ITsRoleService tsRoleService;
|
||||
@Autowired
|
||||
private ISarMenuService sarMenuService;
|
||||
|
||||
Reference in New Issue
Block a user