bugfix:修复角色管理页面-查询未按照排序字段排序的问题

pull/112/head
limingz 2024-04-18 15:22:32 +08:00
parent 36a314779a
commit 4d069460cd
1 changed files with 1 additions and 1 deletions

View File

@ -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::getSort));
}
default RoleDO selectByName(String name) {