Commit ef1acda3 by xugaojun

【3.0】11-1迭代:批量插入代码修复

parent 749c81e8
...@@ -198,8 +198,8 @@ ...@@ -198,8 +198,8 @@
update_time update_time
) )
VALUES VALUES
(
<foreach collection="records" item="one" separator=","> <foreach collection="records" item="one" separator=",">
(
#{one.materialId,jdbcType=VARCHAR}, #{one.materialId,jdbcType=VARCHAR},
#{one.fromMaterialId,jdbcType=VARCHAR}, #{one.fromMaterialId,jdbcType=VARCHAR},
#{one.materialTitle,jdbcType=VARCHAR}, #{one.materialTitle,jdbcType=VARCHAR},
...@@ -219,9 +219,8 @@ ...@@ -219,9 +219,8 @@
#{one.appId,jdbcType=VARCHAR}, #{one.appId,jdbcType=VARCHAR},
#{one.createTime,jdbcType=TIMESTAMP}, #{one.createTime,jdbcType=TIMESTAMP},
#{one.updateTime,jdbcType=TIMESTAMP} #{one.updateTime,jdbcType=TIMESTAMP}
</foreach>
) )
</foreach>
</insert> </insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanMaterial" > <update id="updateByPrimaryKeySelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanMaterial" >
......
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