提供最新的内嵌模式

This commit is contained in:
YunaiV
2022-05-17 09:55:21 +08:00
parent b88b6904bf
commit 1f1970e6c8
48 changed files with 1566 additions and 12934 deletions

View File

@ -215,7 +215,7 @@ public class RoleServiceImpl implements RoleService {
@Override
public List<RoleDO> getRoles(@Nullable Collection<Integer> statuses) {
if (statuses==null) {
if (CollUtil.isEmpty(statuses)) {
return roleMapper.selectList();
}
return roleMapper.selectListByStatus(statuses);