From 50f3be9e529162b39eb83b11e52b4aaf236c60f9 Mon Sep 17 00:00:00 2001 From: jianxing Date: Thu, 17 Aug 2023 17:37:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=BB=84=E6=9F=A5=E8=AF=A2=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E6=95=B0=E6=8D=AE=E6=9C=89=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/service/GlobalUserRoleRelationService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } //校验用户组