jdbc加入批量插入转换参数rewriteBatchedStatements=true
取消修改基础service中没必要调用的代码
This commit is contained in:
@@ -45,6 +45,12 @@ public interface CrudDao<T> {
|
||||
* @return
|
||||
*/
|
||||
public int insert(T entity);
|
||||
/**
|
||||
* 批量插入数据专用,不返回id
|
||||
* @param entity
|
||||
* @return
|
||||
*/
|
||||
public int insertForBatch(T entity);
|
||||
|
||||
/**
|
||||
* 更新数据
|
||||
|
||||
Reference in New Issue
Block a user