2021-10-21 mybatis-plus自带的批量插入比自定义的批量插入慢
原因(配置sql执行时打印sql语句)
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
自带的saveBatch
自定义的insertBatch
xml
<insert id="insertBatch">
insert into test(num, update_time) values
<foreach collection="
原创
2021-10-21 10:08:31 ·
653 阅读 ·
0 评论