T
- 不能为空public interface InsertListMapper<T>
Modifier and Type | Method and Description |
---|---|
int |
insertList(List<? extends T> recordList)
批量插入,支持批量插入的数据库可以使用,例如MySQL,H2等,另外该接口限制实体包含`id`属性并且必须为自增列
|
@Options(useGeneratedKeys=true) @InsertProvider(type=SpecialProvider.class, method="dynamicSQL") int insertList(List<? extends T> recordList)
recordList
- Copyright © 2018. All rights reserved.