ruoyi-admin/src/test/java/com/ruoyi/ExcelTest.java
@@ -20,8 +20,8 @@ @Test public void testExcelImport() throws Exception { InputStream is = new FileInputStream(new File("D:\\test.xlsx")); ExcelUtil<ZfProperty> util = new ExcelUtil<ZfProperty>(ZfProperty.class); List<ZfProperty> userList = util.importExcel(is); // InputStream is = new FileInputStream(new File("D:\\test.xlsx")); // ExcelUtil<ZfProperty> util = new ExcelUtil<ZfProperty>(ZfProperty.class); // List<ZfProperty> userList = util.importExcel(is); } }