zss
15 小时以前 30c56354b41b6d3bffa19fd69786654b83fd8a1a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.ruoyi.common.config;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 
import java.util.List;
 
public interface MyBaseMapper<T> extends BaseMapper<T> {
 
    /**
     * 批量插入(仅插入非空字段)
     * @param list 实体列表
     * @return 插入成功的记录数
     */
    int insertBatchSomeColumn(List<T> list);
 
    /**
     * 批量更新(仅更新非空字段)
     */
    int updateBatchSomeColumn(List<T> list);
}