duhuizhe
2024-04-17 c389984b5d3e5523e1b22de1fc045dc415261330
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
//package com.project.common.mapper;
//
//import java.io.Serializable;
//
///**
// * @description: 公共基础Mapper
// * @author: liujun
// * @create: 2019-08-02 11:11
// **/
//public interface BaseMapper<T,ID extends Serializable> {
//    /**
//     * 根据主键id删除
//     * @param id
//     * @return
//     */
//    int deleteByPrimaryKey(ID id);
//
//    /**
//     * 插入全部
//     * @param t
//     * @return
//     */
//    int insert(T t);
//
//    /**
//     * 插入非空
//     * @param t
//     * @return
//     */
//    int insertSelective(T t);
//
//    /**
//     * 根据主键id,查询
//     * @param id
//     * @return
//     */
//    T selectByPrimaryKey(ID id);
//
//    /**
//     * 更新非空
//     * @param t
//     * @return
//     */
//    int updateByPrimaryKeySelective(T t);
//
//    /**
//     * 更新全部
//     * @param t
//     * @return
//     */
//    int updateByPrimaryKey(T t);
//}