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

Merge pull request !112 from limz/bugfix-pull
pull/92/MERGE
芋道源码 2024-04-24 01:36:21 +00:00 committed by Gitee
commit 961e3210c7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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) {