|
|
|
@ -147,6 +147,10 @@ public class InspectionReportController extends BaseController { |
|
|
|
List<InspectionReportData> inspectionReportDataList = |
|
|
|
inspectionReportDataService.selectInspectionReportDataList(inspectionReportData); |
|
|
|
for (InspectionReportData reportData : inspectionReportDataList) { |
|
|
|
logger.info("reportData: {}", reportData); |
|
|
|
if(reportData == null || StringUtils.isEmpty(reportData.getReportId())) { |
|
|
|
return AjaxResult.error("报告已损坏: " + lineId); |
|
|
|
} |
|
|
|
if (map != null && map.get((reportData.getLineId()).trim()) != null) { |
|
|
|
reportData.setInspectionImg(map.get((reportData.getLineId()).trim())); |
|
|
|
} |
|
|
|
|