Java springboot 批量更新
<update id="up" parameterType="list">
<foreach collection="list" item="obj" index="index" separator=";" >
update table
<set>
dishi = #{obj.dishi,jdbcType=VARCHAR},quxian = #{obj.quxian,jdbcType=VARCHAR}
</set>
where id = #{obj.zzywid}
</foreach>
</update>