调整移动端消息通知倒序
This commit is contained in:
+1
@@ -75,6 +75,7 @@ public class SysMessageNoticeServiceImpl extends ServiceImpl<SysMessageNoticeMap
|
|||||||
wrapper.selectAll(SysMessageNotice.class);
|
wrapper.selectAll(SysMessageNotice.class);
|
||||||
wrapper.leftJoin(SysMessageNoticeScope.class, SysMessageNoticeScope::getNoticeId, SysMessageNotice::getId);
|
wrapper.leftJoin(SysMessageNoticeScope.class, SysMessageNoticeScope::getNoticeId, SysMessageNotice::getId);
|
||||||
wrapper.in(SysMessageNoticeScope::getScopeId, scopes);
|
wrapper.in(SysMessageNoticeScope::getScopeId, scopes);
|
||||||
|
wrapper.orderByDesc(SysMessageNotice::getCreateTime);
|
||||||
wrapper.distinct();
|
wrapper.distinct();
|
||||||
return this.page(page, wrapper).getRecords();
|
return this.page(page, wrapper).getRecords();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user