查询过滤

This commit is contained in:
517612449@qq.com
2022-07-15 15:49:25 +08:00
parent 89c1824c6d
commit 2857f0e4ee

View File

@ -66,7 +66,7 @@ public class EventContactSuggestionServiceImpl extends ServiceImpl<EventContactS
if (ObjectUtil.isNotNull(inVO.getEndTime())) {
query.lt(EventContactSuggestion::getCreateTime, inVO.getEndTime());
}
if (StrUtil.isNotBlank(inVO.getType())) {
if (StrUtil.isNotBlank(inVO.getSuggestionType())) {
query.eq(EventContactSuggestion::getSuggestionType, inVO.getSuggestionType());
}
query.orderByDesc(EventContactSuggestion::getCreateTime);