fix(系统设置): 用户组查询用户分页数据有误

This commit is contained in:
jianxing 2023-08-17 17:37:37 +08:00 committed by 刘瑞斌
parent b858894ed6
commit 50f3be9e52
1 changed files with 2 additions and 1 deletions

View File

@ -40,10 +40,11 @@ public class GlobalUserRoleRelationService extends BaseUserRoleRelationService {
private UserService userService; private UserService userService;
public List<UserRoleRelationUserDTO> list(GlobalUserRoleRelationQueryRequest request) { public List<UserRoleRelationUserDTO> list(GlobalUserRoleRelationQueryRequest request) {
List<UserRoleRelationUserDTO> userRoleRelationUserDTOS = extUserRoleRelationMapper.listGlobal(request);
UserRole userRole = globalUserRoleService.get(request.getRoleId()); UserRole userRole = globalUserRoleService.get(request.getRoleId());
globalUserRoleService.checkSystemUserGroup(userRole); globalUserRoleService.checkSystemUserGroup(userRole);
globalUserRoleService.checkGlobalUserRole(userRole); globalUserRoleService.checkGlobalUserRole(userRole);
return extUserRoleRelationMapper.listGlobal(request); return userRoleRelationUserDTOS;
} }
//校验用户组 //校验用户组