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

feature/model
疯狂的狮子li 2 years ago
parent 92e15c2f16
commit 2e92773b8c

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

Loading…
Cancel
Save