|
|
@@ -169,7 +169,12 @@ public class InsUploadFilesServiceImpl extends ServiceImpl<InsUploadFilesMapper,
|
|
|
qws.eq(InsOrderReadPdf::getType, fileType);
|
|
|
List<InsOrderReadPdf> list = insOrderReadPdfService.list(qws);
|
|
|
HashMap<String, LocalDateTime> map = new HashMap<>();
|
|
|
- String pdfText = PDFUtil.getPdfText(insUploadFiles.getFilePath());
|
|
|
+ String pdfText = "";
|
|
|
+ try {
|
|
|
+ pdfText = PDFUtil.getPdfText(insUploadFiles.getFilePath());
|
|
|
+ }catch (Exception e){
|
|
|
+
|
|
|
+ }
|
|
|
if (StringUtils.isNotBlank(pdfText)) {
|
|
|
if (list != null && list.size() > 0) {
|
|
|
for (InsOrderReadPdf insOrderReadPdf : list) {
|