调整移动端消息通知倒序

This commit is contained in:
wanghao
2026-02-11 16:42:30 +08:00
parent 3c822d581c
commit 175238e291
@@ -75,6 +75,7 @@ public class SysMessageNoticeServiceImpl extends ServiceImpl<SysMessageNoticeMap
wrapper.selectAll(SysMessageNotice.class);
wrapper.leftJoin(SysMessageNoticeScope.class, SysMessageNoticeScope::getNoticeId, SysMessageNotice::getId);
wrapper.in(SysMessageNoticeScope::getScopeId, scopes);
wrapper.orderByDesc(SysMessageNotice::getCreateTime);
wrapper.distinct();
return this.page(page, wrapper).getRecords();
}