Browse Source

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

master
memorylkf 1 hour 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.eq("user_id", SecurityUtils.getUserId());
queryWrapper.orderByAsc("status");
queryWrapper.orderByDesc("id");
return this.list(queryWrapper);
}

Loading…
Cancel
Save