|
@@ -316,6 +316,8 @@ public class PlanServiceImpl implements PlanService {
|
|
|
planQueryWrapper.and(planQueryWrapper1 -> {
|
|
|
planQueryWrapper1/*.like("plan_id",bo.getText())
|
|
|
.or()*/
|
|
|
+ .like("plan_name", bo.getText())
|
|
|
+ .or()
|
|
|
.like("app_name", bo.getText())
|
|
|
.or()
|
|
|
.like("commercial_name", bo.getText());
|
|
@@ -325,6 +327,7 @@ public class PlanServiceImpl implements PlanService {
|
|
|
if (bo.getEndTime() != null)
|
|
|
planQueryWrapper.apply("plan_end_time <= STR_TO_DATE({0},'%Y-%m-%d %H:%i:%s')", bo.getEndTime());
|
|
|
planQueryWrapper.eq("deleted", "0");
|
|
|
+
|
|
|
Page<Plan> page = new Page<>(bo.getPageNum(), bo.getPageSize());
|
|
|
List<Plan> plans = planMapper.selectPage(page, planQueryWrapper).getRecords();
|
|
|
List<PlanManageListVo> vos = new ArrayList<>();
|