修复引用问题
This commit is contained in:
parent
263a2cd163
commit
fbf13f25e9
|
@ -36,8 +36,6 @@ import java.util.stream.Collectors;
|
|||
@Slf4j
|
||||
public class IamUserRoleServiceImpl extends BaseIamServiceImpl<IamUserRoleMapper, IamUserRole> implements IamUserRoleService {
|
||||
|
||||
@Autowired
|
||||
private IamUserRoleService iamUserRoleService;
|
||||
@Autowired
|
||||
private IamRoleService iamRoleService;
|
||||
@Autowired
|
||||
|
@ -54,7 +52,7 @@ public class IamUserRoleServiceImpl extends BaseIamServiceImpl<IamUserRoleMapper
|
|||
|
||||
@Override
|
||||
public List<IamRole> getUserRoleList(String userType, Long userId) {
|
||||
List<IamUserRole> userRoleList = iamUserRoleService.getEntityList(Wrappers.<IamUserRole>lambdaQuery()
|
||||
List<IamUserRole> userRoleList = getEntityList(Wrappers.<IamUserRole>lambdaQuery()
|
||||
.select(IamUserRole::getRoleId)
|
||||
.eq(IamUserRole::getUserType, userType)
|
||||
.eq(IamUserRole::getUserId, userId)
|
||||
|
|
|
@ -40,7 +40,7 @@ import java.util.Map;
|
|||
@ComponentScan(basePackages = {"com.diboot.iam"})
|
||||
@MapperScan(basePackages={"com.diboot.iam.mapper"})
|
||||
@AutoConfigureAfter(value = {DictionaryServiceImpl.class,
|
||||
IamRoleServiceImpl.class, IamUserServiceImpl.class, IamUserRoleServiceImpl.class, IamAccountServiceImpl.class, IamFrontendPermissionServiceImpl.class,
|
||||
IamRoleServiceImpl.class, IamUserServiceImpl.class, IamAccountServiceImpl.class, IamFrontendPermissionServiceImpl.class,
|
||||
IamBaseInitializer.class, ShiroProxyConfig.class})
|
||||
@Order(2)
|
||||
public class IamBaseAutoConfig{
|
||||
|
|
Loading…
Reference in New Issue