征求意见 时间范围查询
This commit is contained in:
+2
-2
@@ -56,8 +56,8 @@ public class SarPublicIdeaServiceImpl extends ServiceImpl<SarPublicIdeaDao, SarP
|
||||
}else {
|
||||
list.like(StringUtils.isNotEmpty(category), "category", category)
|
||||
.like(StringUtils.isNotEmpty(cname), "cid", cname)
|
||||
.le(start != null, "start_time", start)
|
||||
.ge(end != null, "end_time", end)
|
||||
.ge(start != null, "start_time", start)
|
||||
.le(end != null, "end_time", end)
|
||||
.orderByDesc("start_time");
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user