update 优化 角色 sort 值一样的排序问题

This commit is contained in:
疯狂的狮子li 2023-03-31 14:37:44 +08:00
parent 7343cdbe70
commit 0abc2e9624
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class SysRoleServiceImpl implements ISysRoleService {
.like(StringUtils.isNotBlank(role.getRoleKey()), "r.role_key", role.getRoleKey())
.between(params.get("beginTime") != null && params.get("endTime") != null,
"r.create_time", params.get("beginTime"), params.get("endTime"))
.orderByAsc("r.role_sort").orderByAsc("r.crete_time");
.orderByAsc("r.role_sort").orderByAsc("r.create_time");
return wrapper;
}