allowMultiQueries

MyBatis配置allowMultiQueries=true允许使用foreach标签批量插入或更新数据

执行update更新操作 <update id="batchUpdate" parameterType="java.util.List"> <foreach collection="list" item="item" separator=";" open="" close=""> update te ......
共1篇  :1/1页 首页上一页1下一页尾页