|
|
@@ -123,18 +123,21 @@ public class QueryAccidentRealtimeInfoListService { |
|
|
|
} |
|
|
|
if (AccidentReportTypeEnum.MANUAL.getCode() == accidentVo.getReportType()) { |
|
|
|
if (StringUtils.isNotEmpty(accidentVo.getImage())) { |
|
|
|
accidentVo.setFileImage(CommonConfig.imageURL + accidentVo.getImage()); |
|
|
|
accidentVo.setImage(CommonConfig.imageURL + accidentVo.getImage()); |
|
|
|
} |
|
|
|
} |
|
|
|
if (ObjectUtil.isNotNull(inspectionFileMap)) { |
|
|
|
inspectionFile = inspectionFileMap.get(accidentVo.getInspectionFileId()); |
|
|
|
if (ObjectUtil.isNotNull(inspectionFile)) { |
|
|
|
accidentVo.setFileName(inspectionFile.getFileName()); |
|
|
|
accidentVo.setFileImage(CommonConfig.imageURL + inspectionFile.getFileImage()); |
|
|
|
accidentVo.setFileOriginal(CommonConfig.imageURL + inspectionFile.getFileOriginal()); |
|
|
|
accidentVo.setFileThumbnail(CommonConfig.imageURL + inspectionFile.getFileThumbnail()); |
|
|
|
} else if (AccidentReportTypeEnum.AUTO.getCode() == accidentVo.getReportType()) { |
|
|
|
if (ObjectUtil.isNotNull(inspectionFileMap)) { |
|
|
|
inspectionFile = inspectionFileMap.get(accidentVo.getInspectionFileId()); |
|
|
|
if (ObjectUtil.isNotNull(inspectionFile)) { |
|
|
|
accidentVo.setFileName(inspectionFile.getFileName()); |
|
|
|
accidentVo.setFileImage(CommonConfig.imageURL + inspectionFile.getFileImage()); |
|
|
|
accidentVo.setFileOriginal(CommonConfig.imageURL + inspectionFile.getFileOriginal()); |
|
|
|
accidentVo.setFileThumbnail(CommonConfig.imageURL + inspectionFile.getFileThumbnail()); |
|
|
|
accidentVo.setImage(CommonConfig.imageURL + accidentVo.getFileImage()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(ObjectUtil.isNotNull(inspectionMap)){ |
|
|
|
inspection = inspectionMap.get(accidentVo.getInspectionId()); |
|
|
|
if(ObjectUtil.isNotNull(inspection)){ |