Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
polysoft-nafmii
/
polysoft-parent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d389671c
authored
May 10, 2021
by
zhoujinghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
导入测试代码去掉
1 parent
2e9ea9d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
nafmii-admin/src/main/java/org/nafmii/admin/att/service/impl/ImportExcelServiceImpl.java
nafmii-admin/src/main/java/org/nafmii/admin/att/service/impl/ImportExcelServiceImpl.java
View file @
d389671
...
@@ -38,7 +38,6 @@ public class ImportExcelServiceImpl implements ImportExcelService {
...
@@ -38,7 +38,6 @@ public class ImportExcelServiceImpl implements ImportExcelService {
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
ApiResponse
batchImportExcel
(
MultipartFile
file
)
throws
IOException
{
public
ApiResponse
batchImportExcel
(
MultipartFile
file
)
throws
IOException
{
List
<
Object
>
dataList
=
new
ArrayList
();
List
<
Map
<
Integer
,
String
>>
list
=
EasyExcel
.
read
(
file
.
getInputStream
(),
new
NoModelDataListener
())
List
<
Map
<
Integer
,
String
>>
list
=
EasyExcel
.
read
(
file
.
getInputStream
(),
new
NoModelDataListener
())
.
extraRead
(
CellExtraTypeEnum
.
MERGE
)
.
extraRead
(
CellExtraTypeEnum
.
MERGE
)
.
ignoreEmptyRow
(
true
)
.
ignoreEmptyRow
(
true
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment