新闻页添加筛选逻辑
This commit is contained in:
parent
5d7563c784
commit
53a50a8505
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user