|
@@ -203,6 +203,10 @@ public class PlanServiceImpl implements PlanService {
|
|
|
.or()
|
|
|
.like("principal_telephone",bo.getText());
|
|
|
});
|
|
|
+ if (bo.getStartTime() != null)
|
|
|
+ planQueryWrapper.apply("plan_create_time >= STR_TO_DATE({0},'%Y-%m-%d %H:%i:%s')",bo.getStartTime());
|
|
|
+ if (bo.getEndTime() != null)
|
|
|
+ planQueryWrapper.apply("plan_create_time <= STR_TO_DATE({0},'%Y-%m-%d %H:%i:%s')",bo.getEndTime());
|
|
|
planQueryWrapper.eq("state", StateUtil.APPROVED);
|
|
|
planQueryWrapper.eq("deleted","0");
|
|
|
List<Plan> plans = planMapper.selectList(planQueryWrapper);
|