Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tamp_fund
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周鹏
tamp_fund
Commits
5010cb77
Commit
5010cb77
authored
Mar 12, 2021
by
zp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
2c4b5660
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
2 deletions
+43
-2
.gitignore
.gitignore
+5
-1
pom.xml
pom.xml
+2
-1
FileTest.java
src/main/java/com/tanpu/fund/api/FileTest.java
+36
-0
No files found.
.gitignore
View file @
5010cb77
...
...
@@ -73,7 +73,11 @@ gen
# maven
target
.classpath
.factorypath
.project
.settings
.vscode/
src/main/java/pm/Generator.java
prod-fz.sh
...
...
pom.xml
View file @
5010cb77
...
...
@@ -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>
...
...
src/main/java/com/tanpu/fund/api/FileTest.java
0 → 100644
View file @
5010cb77
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
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment