|
@@ -129,9 +129,9 @@ public class ValuationEmailParser extends AbstractEmailParser {
|
|
|
List<ValuationPdfTransformToExcelDTO> toExcelDTOList = pdfToExcelService.pdfToExcel(ListUtil.toList(file));
|
|
|
Map<String, ValuationPdfTransformToExcelDTO> pdfToExcelMap = MapUtil.newHashMap();
|
|
|
if (CollUtil.isNotEmpty(toExcelDTOList)) {
|
|
|
- pdfToExcelMap = toExcelDTOList.stream().collect(Collectors.toMap(ValuationPdfTransformToExcelDTO::getOriginalFileName, v -> v));
|
|
|
+ pdfToExcelMap = toExcelDTOList.stream().collect(Collectors.toMap(ValuationPdfTransformToExcelDTO::getFileUrl, v -> v));
|
|
|
}
|
|
|
- ValuationPdfTransformToExcelDTO toExcelDTO = pdfToExcelMap.get(originFileName);
|
|
|
+ ValuationPdfTransformToExcelDTO toExcelDTO = pdfToExcelMap.get(valuationNeedParseParam.getFileUrl());
|
|
|
valuationNeedParseParam.setFile(toExcelDTO != null ? toExcelDTO.getExcelFile() : null);
|
|
|
}
|
|
|
|