admin
2021-10-13 052e1d5c47c4e536fde79074d53b0481c7d4f9b6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.yeshi.utils.mybatis;
 
/**
 * @author Administrator
 * @title: BaseMapper
 * @projectName utils
 * @description: 基础Mapper
 * @date 2021/10/1315:02
 */
public interface BaseMapper<T> {
 
    int deleteByPrimaryKey(Long id);
 
    int insert(T record);
 
    int insertSelective(T record);
 
    T selectByPrimaryKey(Long id);
 
    int updateByPrimaryKeySelective(T record);
 
    int updateByPrimaryKey(T record);
}