jdbc加入批量插入转换参数rewriteBatchedStatements=true

取消修改基础service中没必要调用的代码
This commit is contained in:
wangxin
2018-11-14 11:32:02 +08:00
parent e37dad3b67
commit 463a43c0c1
6 changed files with 28 additions and 6 deletions

View File

@@ -45,6 +45,12 @@ public interface CrudDao<T> {
* @return
*/
public int insert(T entity);
/**
* 批量插入数据专用,不返回id
* @param entity
* @return
*/
public int insertForBatch(T entity);
/**
* 更新数据