src/main/java/com/hx/util/ExcelUtil.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/hx/util/ExcelUtil.java
@@ -916,6 +916,9 @@ .open(new BufferedInputStream(file.getInputStream())); listData =readhandle(book); }catch (OLE2NotOfficeXmlFileException ex){ ex.printStackTrace(); throw new RuntimeException("excel版本不为2007及以上"); }catch (Exception e){ e.printStackTrace(); throw new RuntimeException(e.getMessage());