mybatis怎么实现批量修改

如题所述

<foreach collection="list" item="item" index="index" open="" close="" separator="OR">
UPDATE XHXC_RWXD_JCJG
<set>
JGQR='${item.jgqr}',JGCLSM='${item.sm}'
</set>
WHERE ID='${item.id}'
</foreach>
温馨提示:答案为网友推荐,仅供参考