2026-04-17 ac11e0a1320b469a2a111ba3d6a4a54f424845b7
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);
}