|
|
@@ -172,8 +172,7 @@ public class QueryAccidentCardListService { |
|
|
|
} |
|
|
|
List<String> inspectionFileIdList = accidentList.stream().map(o -> o.getInspectionFileId()).collect(Collectors.toList()); |
|
|
|
List<InspectionFile> inspectionFileList = inspectionFileMapper.selectList(new LambdaQueryWrapper<InspectionFile>() |
|
|
|
.in(InspectionFile::getId, inspectionFileIdList) |
|
|
|
.eq(InspectionFile::getMark, MarkEnum.VALID.getCode())); |
|
|
|
.in(InspectionFile::getId, inspectionFileIdList)); |
|
|
|
Map<String, InspectionFile> inspectionFileMap = inspectionFileList.stream().collect(HashMap::new, (m, v) -> m.put(v.getId(), v), HashMap::putAll); |
|
|
|
return inspectionFileMap; |
|
|
|
} |