Commit 5010cb77 authored by zp's avatar zp

test

parent 2c4b5660
......@@ -73,7 +73,11 @@ gen
# maven
target
.classpath
.factorypath
.project
.settings
.vscode/
src/main/java/pm/Generator.java
prod-fz.sh
......
......@@ -211,8 +211,9 @@
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>5.0.0</version>
<version>4.1.2</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
......
package com.tanpu.fund.api;
import cn.hutool.poi.excel.ExcelReader;
import cn.hutool.poi.excel.ExcelUtil;
import java.io.File;
import java.util.List;
import java.util.Map;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
public class FileTest {
public static void main(String[] args) {
ExcelReader reader = ExcelUtil.getReader(new File("C:\\Users\\zhoup\\Downloads\\navImport.xlsx"));
List<Map<String, Object>> maps = reader.readAll();
System.out.println(maps);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment