公告排序
parent
b047bbbf74
commit
5a3a5968b6
|
|
@ -31,7 +31,7 @@ public interface CommunityNoticeMapper extends BaseMapperX<CommunityNoticeDO> {
|
|||
.apply(reqVO.getCommunityId() != null,
|
||||
"EXISTS (SELECT 1 FROM comm_notice_scope WHERE notice_id = comm_notice.id AND community_id = {0})",
|
||||
reqVO.getCommunityId())
|
||||
.orderByDesc(CommunityNoticeDO::getId));
|
||||
.orderByDesc(CommunityNoticeDO::getPublishTime));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue