liusuyi
2026-05-12 9f327c33730ba10cb2d89aff99b727502232e968
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
package com.ard.zlm.mapper;
 
import com.ard.zlm.domain.ZlmRecordPlanItem;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * 录像计划管理通道Mapper接口
 *
 * @author fengcheng
 * @date 2026-04-11
 */
public interface ZlmRecordPlanItemMapper {
    /**
     * 查询录像计划管理通道
     *
     * @param id 录像计划管理通道主键
     * @return 录像计划管理通道
     */
    public ZlmRecordPlanItem selectZlmRecordPlanItemById(Long id);
 
    /**
     * 查询录像计划管理通道列表
     *
     * @param zlmRecordPlanItem 录像计划管理通道
     * @return 录像计划管理通道集合
     */
    public List<ZlmRecordPlanItem> selectZlmRecordPlanItemList(ZlmRecordPlanItem zlmRecordPlanItem);
 
    /**
     * 新增录像计划管理通道
     *
     * @param zlmRecordPlanItem 录像计划管理通道
     * @return 结果
     */
    public int insertZlmRecordPlanItem(ZlmRecordPlanItem zlmRecordPlanItem);
 
    /**
     * 修改录像计划管理通道
     *
     * @param zlmRecordPlanItem 录像计划管理通道
     * @return 结果
     */
    public int updateZlmRecordPlanItem(ZlmRecordPlanItem zlmRecordPlanItem);
 
    /**
     * 删除录像计划管理通道
     *
     * @param id 录像计划管理通道主键
     * @return 结果
     */
    public int deleteZlmRecordPlanItemById(Long id);
 
    /**
     * 批量删除录像计划管理通道
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteZlmRecordPlanItemByIds(Long[] ids);
 
    /**
     * 批量新增录像计划管理通道
     *
     * @param planId       录像计划id
     * @param planItemList 录像计划管理通道集合
     */
    void batchAddItem(@Param("planId") Long planId, @Param("planItemList") List<ZlmRecordPlanItem> planItemList);
 
    /**
     * 根据录像计划id删除通道
     *
     * @param planId 录像计划id
     */
    void cleanItems(Long planId);
 
    /**
     * 根据录像计划id获取通道列表
     *
     * @param planId
     * @return
     */
    List<ZlmRecordPlanItem> getItemList(Long planId);
}