ludc
2025-01-16 391eec3114a17e68652434c6eae610799d80290e
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
60
61
62
63
64
package com.vci.web.dao;
 
import com.vci.model.OsCodeGenSchemaDO;
import com.vci.starter.web.pagemodel.PageHelper;
 
import java.util.List;
import java.util.Map;
 
/**
 * 代码生成器的数据操作层
 * @author weidy
 * @date 2021-08-22
 */
public interface OsCodeGenSchemaDaoI {
    /**
     * 使用主键删除
     * @param oid 主键
     * @return 受影响的个数
     */
    int deleteByPrimaryKey(String oid);
 
    /**
     * 插入数据
     * @param record 数据的对象
     * @return 受影响的个数
     */
    int insert(OsCodeGenSchemaDO record);
 
    /**
     * 使用主键查询
     * @param oid 主键
     * @return 数据对象
     */
    OsCodeGenSchemaDO selectByPrimaryKey(String oid);
 
    /**
     * 查询全部
     * @return 数据对象
     */
    List<OsCodeGenSchemaDO> selectAll();
 
    /**
     * 使用主键更新
     * @param record 数据对象
     * @return 受影响的行数
     */
    int updateByPrimaryKey(OsCodeGenSchemaDO record);
 
    /**
     * 根据查询条件查询数据
     * @param conditionMap 查询条件
     * @param pageHelper 分页对象
     * @return 数据对象列表
     */
    List<OsCodeGenSchemaDO> selectByWrapper(Map<String,String> conditionMap, PageHelper pageHelper);
 
    /**
     * 根据查询条件来查询总数
     * @param conditionMap 查询条件
     * @return 总数
     */
    Integer countByWrapper(Map<String,String> conditionMap);
 
}