|
|
@ -91,9 +91,6 @@ public class InspectionPlanController extends DafController { |
|
|
|
if (StringUtil.isNotEmpty(inspectionPlan.getPlanName())) { |
|
|
|
if (StringUtil.isNotEmpty(inspectionPlan.getPlanName())) { |
|
|
|
qw.lambda().like(InspectionPlan::getPlanName, inspectionPlan.getPlanName()); |
|
|
|
qw.lambda().like(InspectionPlan::getPlanName, inspectionPlan.getPlanName()); |
|
|
|
} |
|
|
|
} |
|
|
|
if (null != inspectionPlan.getStation()) { |
|
|
|
|
|
|
|
qw.lambda().eq(InspectionPlan::getStation, inspectionPlan.getStation()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (StringUtil.isNotEmpty(inspectionPlan.getPeriodType())) { |
|
|
|
if (StringUtil.isNotEmpty(inspectionPlan.getPeriodType())) { |
|
|
|
qw.lambda().like(InspectionPlan::getPeriodType, inspectionPlan.getPeriodType()); |
|
|
|
qw.lambda().like(InspectionPlan::getPeriodType, inspectionPlan.getPeriodType()); |
|
|
|
} |
|
|
|
} |
|
|
@ -217,7 +214,7 @@ public class InspectionPlanController extends DafController { |
|
|
|
public void exportInspectionRoute(@ApiIgnore @RequestParam Map<String, Object> entity, HttpServletResponse response) { |
|
|
|
public void exportInspectionRoute(@ApiIgnore @RequestParam Map<String, Object> entity, HttpServletResponse response) { |
|
|
|
entity.remove("daf-auth"); |
|
|
|
entity.remove("daf-auth"); |
|
|
|
entity.forEach((key, value) -> { |
|
|
|
entity.forEach((key, value) -> { |
|
|
|
if (!"station".equals(key) && !"planStatus".equals(key)) |
|
|
|
if (!"planStatus".equals(key)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
entity.put(key, "%" + value + "%"); |
|
|
|
entity.put(key, "%" + value + "%"); |
|
|
|
} |
|
|
|
} |
|
|
|