摘要:
如果批量插入需要返回自增ID,需要满足4个条件: mybatis的版本需要在3.3.1以上 batchInsert方法参数中不能含有@param注解 batchInsert方法参数中只能有一个参数,那就是需要插入的List batchInsert的返回值不能是List 下面说给出一个例子: /** 阅读全文
posted @ 2020-12-29 21:11
dwtfukgv
阅读(797)
评论(0)
推荐(0)