mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2026-04-19 04:37:27 +00:00
【修复】角色管理页面-查询未按照排序字段排序的问题
This commit is contained in:
@@ -21,7 +21,7 @@ public interface RoleMapper extends BaseMapperX<RoleDO> {
|
||||
.likeIfPresent(RoleDO::getCode, reqVO.getCode())
|
||||
.eqIfPresent(RoleDO::getStatus, reqVO.getStatus())
|
||||
.betweenIfPresent(BaseDO::getCreateTime, reqVO.getCreateTime())
|
||||
.orderByDesc(RoleDO::getId));
|
||||
.orderByAsc(RoleDO::getId));
|
||||
}
|
||||
|
||||
default RoleDO selectByName(String name) {
|
||||
|
||||
Reference in New Issue
Block a user