Browse Source

feat: [个人中心] [工作台] 已读消息排在后面

master
memorylkf 2 hours ago
parent
commit
1642842f0b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/NoticeServiceImpl.java

+ 1
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/NoticeServiceImpl.java View File

@ -48,6 +48,7 @@ public class NoticeServiceImpl extends ServiceImpl impleme
{ {
QueryWrapper<Notice> queryWrapper = Wrappers.query(); QueryWrapper<Notice> queryWrapper = Wrappers.query();
queryWrapper.eq("user_id", SecurityUtils.getUserId()); queryWrapper.eq("user_id", SecurityUtils.getUserId());
queryWrapper.orderByAsc("status");
queryWrapper.orderByDesc("id"); queryWrapper.orderByDesc("id");
return this.list(queryWrapper); return this.list(queryWrapper);
} }

Loading…
Cancel
Save