feat: (feature/REQ-2750-1) 修改超管角色查询
This commit is contained in:
parent
4e76df29f5
commit
c99fe23c65
@ -1399,8 +1399,8 @@ public class RoleServiceImpl extends ServiceImpl<SaasRoleMapper, SaasRole>
|
||||
return;
|
||||
}
|
||||
|
||||
if (CollectionUtils.isNotEmpty(param.getRoleTypes())
|
||||
&& !param.getRoleTypes().contains(RoleTypeEnum.SUPER_ADMIN.getValue())) {
|
||||
if (CollectionUtils.isEmpty(param.getRoleTypes())
|
||||
|| !param.getRoleTypes().contains(RoleTypeEnum.SUPER_ADMIN.getValue())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user