Merge pull request !163 from not_null/N/Apull/2/head
commit
b88b6904bf
|
@ -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