|
|
@ -735,6 +735,9 @@ public class PatrolTaskResultMainController extends BaseController { |
|
|
inspectionReportDataService.selectInspectionReportDataList(inspectionReportData); |
|
|
inspectionReportDataService.selectInspectionReportDataList(inspectionReportData); |
|
|
if (!inspectionReportDataList.isEmpty()) { |
|
|
if (!inspectionReportDataList.isEmpty()) { |
|
|
inspectionReport.setReportDatalist(inspectionReportDataList); |
|
|
inspectionReport.setReportDatalist(inspectionReportDataList); |
|
|
|
|
|
} else { |
|
|
|
|
|
logger.info("--exportExcelWordAndZip------report lineId:{},filter:{} no report data!", lineId, inspectionReport.getFilter()); |
|
|
|
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
for (InspectionReportData reportData : inspectionReportDataList) { |
|
|
for (InspectionReportData reportData : inspectionReportDataList) { |
|
|
|