mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 15:21:53 +08:00
处理问题 https://gitee.com/zhijiantianya/ruoyi-vue-pro/issues/I560LX
This commit is contained in:
parent
8505873e1b
commit
8ebac3e445
@ -215,6 +215,9 @@ public class RoleServiceImpl implements RoleService {
|
||||
|
||||
@Override
|
||||
public List<RoleDO> getRoles(@Nullable Collection<Integer> statuses) {
|
||||
if (statuses==null) {
|
||||
return roleMapper.selectList();
|
||||
}
|
||||
return roleMapper.selectListByStatus(statuses);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user