项目评估流程排序问题

This commit is contained in:
yuezhihang
2021-09-16 15:00:14 +08:00
parent d5081e56f7
commit 6e88f37c28
3 changed files with 32 additions and 5 deletions
@@ -55,8 +55,7 @@ public class SarPublicIdeaServiceImpl extends ServiceImpl<SarPublicIdeaDao, SarP
} else {
list.like(StringUtils.isNotEmpty(category), "category", category)
.like(StringUtils.isNotEmpty(cname), "cname", cname)
.ge(start != null, "start_time", start)
.le(end != null, "end_time", end)
.ge("end_time", new Date())
.orderByAsc("end_time");
}
Page<SarPublicIdea> page = new Page<>(p, size);