1 parent
2c98612da2
commit
8510220c34
1 file changed
+1
-1
@@ -67,7 +67,7 @@ public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements Ro
|
||||
.like(Role::getCode, keywords)
|
||||
)
|
||||
.ne(!SecurityUtils.isRoot(), Role::getCode, SystemConstants.ROOT_ROLE_CODE) // 非超级管理员不显示超级管理员角色
|
||||
.orderByDesc(Role::getCreateTime).orderByDesc(Role::getUpdateTime)
|
||||
.orderByAsc(Role::getSort).orderByDesc(Role::getCreateTime).orderByDesc(Role::getUpdateTime)
|
||||
);
|
||||
|
||||
// 实体转换
|
||||
|
||||
Reference in new issue
Block a user