zxl
5 天以前 8063ee7eee51bfe25a09428e6efc60f828b270c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package cn.lili.mybatis.mybatisplus.external;
 
 
import java.util.List;
 
/**
 * @author paulG
 * @since 2022/7/18
 **/
public interface SpiceBaseMapper<T> {
 
    /**
     * 批量插入
     * {@link com.baomidou.mybatisplus.extension.injector.methods.InsertBatchSomeColumn}
     *
     * @param entityList 要插入的数据
     * @return 成功插入的数据条数
     */
    long insertBatchSomeColumn(List<T> entityList);
 
    int insertIgnoreBatchAllColumn(List<T> list);
}