mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-31 09:30:05 +08:00
Merge pull request !163 from not_null/N/A
This commit is contained in:
commit
b88b6904bf
@ -215,6 +215,9 @@ public class RoleServiceImpl implements RoleService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<RoleDO> getRoles(@Nullable Collection<Integer> statuses) {
|
public List<RoleDO> getRoles(@Nullable Collection<Integer> statuses) {
|
||||||
|
if (statuses==null) {
|
||||||
|
return roleMapper.selectList();
|
||||||
|
}
|
||||||
return roleMapper.selectListByStatus(statuses);
|
return roleMapper.selectListByStatus(statuses);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user