| | |
| | | pl_omd_btm_type |
| | | </sql> |
| | | <update id="batchUpdate" parameterType="java.util.List"> |
| | | <foreach collection="records" item="item" index="index" open="begin" close=";end;" separator=";"> |
| | | BEGIN |
| | | <foreach collection="records" item="item" index="index" separator=";"> |
| | | update <include refid="tableName"/> set |
| | | id = #{item.id,jdbcType=VARCHAR}, |
| | | name = #{item.name,jdbcType=VARCHAR}, |
| | |
| | | last_modifier = #{item.lastModifier,jdbcType=VARCHAR}, |
| | | last_modify_time = #{item.lastModifyTime,jdbcType=TIMESTAMP}, |
| | | ts = #{item.ts,jdbcType=TIMESTAMP} |
| | | where oid = #{item.oid,jdbcType=VARCHAR} |
| | | </foreach> |
| | | ;END; |
| | | </update> |
| | | <delete id="batchDelete"> |
| | | delete from |