|
@@ -519,7 +519,7 @@ public class UserInfoManage { |
|
|
List<Long> controlledRoleIdList = new ArrayList<>(); |
|
|
List<Long> controlledRoleIdList = new ArrayList<>(); |
|
|
if (CollUtil.isNotEmpty(userRoleList)) { |
|
|
if (CollUtil.isNotEmpty(userRoleList)) { |
|
|
List<Long> roleIdList = userRoleList.stream().map(UserRole::getRoleId).distinct().collect(Collectors.toList()); |
|
|
List<Long> roleIdList = userRoleList.stream().map(UserRole::getRoleId).distinct().collect(Collectors.toList()); |
|
|
controlledRoleIdList.addAll(roleIdList); |
|
|
|
|
|
|
|
|
|
|
|
List<Role> roleList = iRoleService.list(Wrappers.lambdaQuery(Role.class).in(Role::getId, roleIdList)); |
|
|
List<Role> roleList = iRoleService.list(Wrappers.lambdaQuery(Role.class).in(Role::getId, roleIdList)); |
|
|
|
|
|
|
|
|
for (Role role : roleList) { |
|
|
for (Role role : roleList) { |
|
|