// 当开始时间不为空,则要加上时间
.and(StringUtils.isNotBlank(dateForm.getBeginTime())
&& StringUtils.isNotBlank(dateForm.getEndTime()),
dateSql -> dateSql.ge(AppTbOrderEntity::getCreateTime, dateForm.getBeginTime())
.apply("create_time <= DATE_ADD({0}, INTERVAL 1 DAY)", dateForm.getEndTime()))