zss
59 分钟以前 413dd1a6ef413a3511854d248e83fdfceb6ec0d3
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);
}