fix:排序规则改变

上级 e49bf101
...@@ -67,8 +67,7 @@ public class CsdnUserController { ...@@ -67,8 +67,7 @@ public class CsdnUserController {
if (StringUtils.isNotEmpty(nickName)) { if (StringUtils.isNotEmpty(nickName)) {
wrapper.like("nick_name", nickName); wrapper.like("nick_name", nickName);
} }
wrapper.orderByDesc("user_weight"); wrapper.orderByDesc("user_weight").orderByDesc("update_time");
wrapper.orderByDesc("update_time");
return Result.ok(CsdnUserInfoDTO.Converter.INSTANCE.from(this.csdnUserInfoService.page(pageParm, wrapper))); return Result.ok(CsdnUserInfoDTO.Converter.INSTANCE.from(this.csdnUserInfoService.page(pageParm, wrapper)));
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册