T
- 不能为空public interface InsertListMapper<T>
Modifier and Type | Method and Description |
---|---|
int |
insertList(List<? extends T> recordList)
批量插入,支持批量插入的数据库可以使用,例如MySQL,H2等
|
@InsertProvider(type=InsertListProvider.class, method="dynamicSQL") int insertList(List<? extends T> recordList)
不支持主键策略,插入前需要设置好主键的值
特别注意:2018-04-22 后,该方法支持 @KeySql 注解的 genId 方式
recordList
- Copyright © 2018. All rights reserved.