baizonghao
2023-07-31 98b2f41e13c48219e054cf8b80c459298a01c910
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package com.mindskip.xzs.repository;
 
/**
 * @param <T> the type parameter
 * @version 2.2.0
 * @description: 仓储基础类
 * Copyright (C), 2020-2021, 武汉思维跳跃科技有限公司
 * @date 2021 /9/7 9:45
 */
public interface BaseMapper<T> {
 
    /**
     * Delete by primary key int.
     *
     * @param id the id
     * @return the int
     */
    int deleteByPrimaryKey(Integer id);
 
    /**
     * Insert int.
     *
     * @param record the record
     * @return the int
     */
    int insert(T record);
 
    /**
     * Insert selective int.
     *
     * @param record the record
     * @return the int
     */
    int insertSelective(T record);
 
    /**
     * Select by primary key t.
     *
     * @param id the id
     * @return the t
     */
    T selectByPrimaryKey(Integer id);
 
    /**
     * Update by primary key selective int.
     *
     * @param record the record
     * @return the int
     */
    int updateByPrimaryKeySelective(T record);
 
    /**
     * Update by primary key int.
     *
     * @param record the record
     * @return the int
     */
    int updateByPrimaryKey(T record);
}