新闻页添加筛选逻辑

This commit is contained in:
liuxiao 2024-07-16 16:50:52 +08:00
parent 5d7563c784
commit 53a50a8505

View File

@ -96,6 +96,7 @@ public class GwSlideshowServiceImpl implements IGwSlideshowService {
lqw.eq(bo.getReleaseTime() != null, GwSlideshow::getReleaseTime, bo.getReleaseTime());
lqw.like(StringUtils.isNotBlank(bo.getGroupName()), GwSlideshow::getGroupName, bo.getGroupName());
lqw.eq(StringUtils.isNotBlank(bo.getNewsContent()), GwSlideshow::getNewsContent, bo.getNewsContent());
lqw.eq(StringUtils.isNotBlank(bo.getType()), GwSlideshow::getType, bo.getType());
lqw.eq(StringUtils.isNotBlank(bo.getAbstracts()), GwSlideshow::getAbstracts, bo.getAbstracts());
lqw.eq(StringUtils.isNotBlank(bo.getIsTop()), GwSlideshow::getIsTop, bo.getIsTop());
lqw.orderByDesc(GwSlideshow::getReleaseTime);