Commit e14afb45 by 孙长庆

批量导入功能初步实现

1 parent dd8474c6
...@@ -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)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!