公开征求意见 查询bug修复
This commit is contained in:
+1
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user