Merge branch 'master' of gitee.com:JavaLionLi/RuoYi-Vue-Plus into dev

This commit is contained in:
疯狂的狮子Li
2021-08-18 03:11:04 +00:00
committed by Gitee
2 changed files with 5 additions and 1 deletions

View File

@ -93,6 +93,10 @@ public class ServicePlusImpl<M extends BaseMapperPlus<T>, T, K> extends ServiceI
return super.updateBatchById(entityList, batchSize);
}
/**
* 单sql批量插入( 全量填充 无视数据库默认值 )
* 适用于无脑插入
*/
@Override
public boolean saveBatch(Collection<T> entityList) {
return saveBatch(entityList, DEFAULT_BATCH_SIZE);