From 8ebac3e445a7e19148c178a562d6f4c316a324c2 Mon Sep 17 00:00:00 2001 From: not_null Date: Tue, 10 May 2022 10:20:41 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E9=97=AE=E9=A2=98=20https://?= =?UTF-8?q?gitee.com/zhijiantianya/ruoyi-vue-pro/issues/I560LX=20=E5=A4=84?= =?UTF-8?q?=E7=90=86=E9=97=AE=E9=A2=98=20https://gitee.com/zhijiantianya/r?= =?UTF-8?q?uoyi-vue-pro/issues/I560LX?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/system/service/permission/RoleServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/permission/RoleServiceImpl.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/permission/RoleServiceImpl.java index 9c884cbd38..e68da4935b 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/permission/RoleServiceImpl.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/permission/RoleServiceImpl.java @@ -215,6 +215,9 @@ public class RoleServiceImpl implements RoleService { @Override public List getRoles(@Nullable Collection statuses) { + if (statuses==null) { + return roleMapper.selectList(); + } return roleMapper.selectListByStatus(statuses); } -- Gitee