公开征求意见 查询bug修复

This commit is contained in:
yuezhihang
2021-12-27 19:50:38 +08:00
parent 0bee1e9cf7
commit f215eeef72
8 changed files with 17 additions and 25 deletions
@@ -48,7 +48,7 @@ public class SarPublicIdeaServiceImpl extends ServiceImpl<SarPublicIdeaDao, SarP
QueryWrapper<SarPublicIdea> list = new QueryWrapper<>();
if ("1".equals(type)) {
list.like(StringUtils.isNotEmpty(category), "category", category)
.like(StringUtils.isNotEmpty(cname), "cname", cname)
.like(StringUtils.isNotEmpty(cname), "cid", cname)
.ge(start != null, "start_time", start)
.le(end != null, "end_time", end)
.orderByDesc("start_time");