修改排序

This commit is contained in:
517612449@qq.com
2022-07-14 15:54:16 +08:00
parent 855a1dbb8a
commit a9593a9493

View File

@ -69,6 +69,7 @@ public class EventContactSuggestionServiceImpl extends ServiceImpl<EventContactS
if (StrUtil.isNotBlank(inVO.getType())) { if (StrUtil.isNotBlank(inVO.getType())) {
query.eq(EventContactSuggestion::getSuggestionType, inVO.getType()); query.eq(EventContactSuggestion::getSuggestionType, inVO.getType());
} }
query.orderByDesc(EventContactSuggestion::getCreateTime);
return this.page(page, query); return this.page(page, query);
} }