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