oracle mybatis 批量更新

xiaoxiao2021-02-28  134

<update id="updateAllBmd" parameterType="java.util.List"> begin <foreach collection="list" item="item" index="index" separator=";" > update zl_gqxt.t_bmd <set> hpzl = #{item.hpzl}, cllx= #{item.cllx}, </set> where hphm = #{item.hphm} </foreach> ;end; </update>
转载请注明原文地址: https://www.6miu.com/read-25264.html

最新回复(0)