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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
package com.vci.ubcs.code.dao;
 
import com.vci.starter.web.pagemodel.PageHelper;
import com.vci.starter.web.wrapper.VciQueryWrapperForDO;
import com.vci.ubcs.code.model.DockingPreApplyDataDO;
import com.vci.web.pageModel.BatchCBO;
 
import java.util.Collection;
import java.util.List;
import java.util.Map;
 
/**
 * 记录工艺推送过来的数据信息数据操作层
 *
 * @author weidy
 * @date 2022-04-05
 */
public interface  DockingPreApplyDataDaoI {
 
    /**
     * 使用主键删除
     * @param oid 数据主键
     * @return 执行结果
     */
    BatchCBO deleteByPrimaryKey(String oid);
 
    /**
     * 添加数据
     * @param record 记录工艺推送过来的数据信息数据对象
     * @return 执行结果
     */
    BatchCBO insert(DockingPreApplyDataDO record);
 
    /**
    * 批量添加数据
    * @param records 记录工艺推送过来的数据信息数据对象集合
    * @return 执行结果数
    */
    BatchCBO batchInsert(List<DockingPreApplyDataDO> records);
 
    /**
     * 根据主键查询
     * @param oid 数据主键
     * @return 数据对象
     */
    DockingPreApplyDataDO selectByPrimaryKey(String oid);
 
    /**
     * 根据主键批量获取对象
     * @param oids 主键,包含单引号,但是不能超过1000
     * @return 数据对象列表
     */
    List<DockingPreApplyDataDO> selectByPrimaryKeys(String oids);
 
    /**
     * 根据主键批量查询对象
     * @param oids 对象主键,使用逗号分隔,但是不能超过1000
     * @return 业务对象
     */
    List<DockingPreApplyDataDO> selectByPrimaryKeyCollection(Collection<String> oids);
 
    /**
     * 查询所有分类
     * @return 查询结果
     */
    List<DockingPreApplyDataDO> selectAll();
 
    /**
     * 更新对象
     * @param record 记录工艺推送过来的数据信息数据对象
     * @return 执行结果
     */
    BatchCBO updateByPrimaryKey(DockingPreApplyDataDO record);
 
    /**
    * 批量更新
    * @param records 记录工艺推送过来的数据信息数据对象集合
    * @return 执行结果行数
    */
    BatchCBO batchUpdate(List<DockingPreApplyDataDO> records);
 
    /**
     * 根据查询条件查询数据
     * @param conditionMap 查询条件,
     * @param pageHelper 包括分页,排序
     * @return 数据对象列表
     */
    List<DockingPreApplyDataDO> selectByCondition(Map<String,String> conditionMap, PageHelper pageHelper);
 
    /**
     * 根据查询条件来查询总数
     * @param conditionMap 查询条件
     * @return 总数
     */
    Long countByCondition(Map<String,String> conditionMap);
 
    /**
     * 使用查询封装器来查询
     * @param queryWrapper 查询封装器
     * @return 数据对象列表
     */
    List<DockingPreApplyDataDO> selectByWrapper(VciQueryWrapperForDO queryWrapper);
 
    /**
     * 根据查询封装器来查询总数
     * @param queryWrapper 查询封装器
     * @return 总数
     */
    Long countByWrapper(VciQueryWrapperForDO queryWrapper);
 
    /**
     * 根据主键获取名称
     * @param oid 主键
     * @return 中文名称
     */
    String selectNameByOid(String oid);
 
 
 
    /**
     * 批量删除对象
     * @param oids 对象的主键集合
     * @return 受影响的行数
     */
    BatchCBO batchDeleteByOids(Collection<String> oids);
 
}