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 e14afb45
authored
May 06, 2021
by
孙长庆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
批量导入功能初步实现
1 parent
dd8474c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
nafmii-admin/src/main/resources/mapper/ImportExcelMapper.xml
nafmii-admin/src/main/resources/mapper/ImportExcelMapper.xml
View file @
e14afb4
...
@@ -10,17 +10,6 @@
...
@@ -10,17 +10,6 @@
<result
column=
"COLUMN3"
property=
"column3"
/>
<result
column=
"COLUMN3"
property=
"column3"
/>
</resultMap>
</resultMap>
<!-- 通用查询结果列 -->
<sql
id=
"Base_Column_List"
>
ID, LOGIN_NAME, LOGIN_PWD, CN_NAME, EN_NAME, PHONE, TELPHONE, SEX, EMAIL, CREATE_USER_ID, UPDATE_USER_ID, CREATE_TIME, UPDATE_TIME, IS_ENABLE
</sql>
<!-- 导入excel测试 -->
<!-- <insert id="insertExcelData" parameterType="org.nafmii.admin.user.entity.ImportExcelPO">
<foreach collection="list" item="item" index="index" separator=",">
INSERT INTO IMPORT_EXCEL_TEST(COLUMN1,COLUMN2,COLUMN3) VALUES (#{item.column1}, #{item.column2}, #{item.column3})
</foreach>
</insert>-->
<insert
id =
"insertExcelData"
parameterType=
"java.util.List"
>
<insert
id =
"insertExcelData"
parameterType=
"java.util.List"
>
insert into IMPORT_EXCEL_TEST
insert into IMPORT_EXCEL_TEST
(COLUMN1,COLUMN2,COLUMN3)
(COLUMN1,COLUMN2,COLUMN3)
...
...
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