public interface InsertListMapper<T>
Modifier and Type | Method and Description |
---|---|
int |
insertList(List<? extends T> recordList)
生成如下批量SQL:
|
@InsertProvider(type=OracleProvider.class, method="dynamicSQL") int insertList(List<? extends T> recordList)
生成如下批量SQL:
INSERT ALL
INTO demo_country ( country_id,country_name,country_code ) VALUES ( ?,?,? )
INTO demo_country ( country_id,country_name,country_code ) VALUES ( ?,?,? )
INTO demo_country ( country_id,country_name,country_code ) VALUES ( ?,?,? )
SELECT 1 FROM DUAL
recordList
- Copyright © 2018. All rights reserved.