Browse Source

pdf导入修复

zhouxingyu 15 hours ago
parent
commit
4ca61029f6

+ 1 - 0
srm-module-code/src/main/java/org/jeecg/modules/saleCode/util/PDFTableReader.java

@@ -341,6 +341,7 @@ public class PDFTableReader<T> {
             }
             }
         }
         }
 
 
+        if(titleRow == null) return new ArrayList<>();
         //根据titleRow和nextRow获取多行数据
         //根据titleRow和nextRow获取多行数据
         List<Float> collect = new ArrayList<>();
         List<Float> collect = new ArrayList<>();
         if (nextRow != null) {
         if (nextRow != null) {