diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/service/GlobalUserRoleRelationService.java b/backend/services/system-setting/src/main/java/io/metersphere/system/service/GlobalUserRoleRelationService.java index 52e5ae8db2..d7e5c9055f 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/service/GlobalUserRoleRelationService.java +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/service/GlobalUserRoleRelationService.java @@ -40,10 +40,11 @@ public class GlobalUserRoleRelationService extends BaseUserRoleRelationService { private UserService userService; public List list(GlobalUserRoleRelationQueryRequest request) { + List userRoleRelationUserDTOS = extUserRoleRelationMapper.listGlobal(request); UserRole userRole = globalUserRoleService.get(request.getRoleId()); globalUserRoleService.checkSystemUserGroup(userRole); globalUserRoleService.checkGlobalUserRole(userRole); - return extUserRoleRelationMapper.listGlobal(request); + return userRoleRelationUserDTOS; } //校验用户组