摘要: 耗时69秒 加上 rewriteBatchedStatements=true 瞬间执行完成! ps:rewriteBatchedStatements -> 等于sql层 insert多条,而saveBatch方法是 批量执行多条sql 阅读全文
posted @ 2023-12-26 17:09 能。 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 1.<update id="updateBatch" parameterType="java.util.List"> <foreach collection="list" item="item" index="index" separator=";"> UPDATE enterprise_oil_a 阅读全文
posted @ 2023-12-26 17:01 能。 阅读(1642) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示