fuliqi
2024-04-19 0c1f76c4a9c34a2adb05a94da4b20f3560374a29
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
package com.ycl.platform.service;
 
import com.ycl.platform.domain.entity.TMonitor;
import com.ycl.platform.domain.vo.TMonitorVO;
 
import java.util.List;
import java.util.Map;
 
/**
 * 设备资产Service接口
 *
 * @author ruoyi
 * @date 2024-03-04
 */
public interface ITMonitorService
{
    /**
     * 查询设备资产
     *
     * @param id 设备资产主键
     * @return 设备资产
     */
    public TMonitor selectTMonitorById(Long id);
 
    /**
     * 查询设备资产列表
     *
     * @param tMonitor 设备资产
     * @return 设备资产集合
     */
    public List<TMonitorVO> selectTMonitorList(TMonitor tMonitor);
 
    /**
     * 新增设备资产
     *
     * @param tMonitor 设备资产
     * @return 结果
     */
    public int insertTMonitor(TMonitor tMonitor);
 
    /**
     * 修改设备资产
     *
     * @param tMonitor 设备资产
     * @return 结果
     */
    public int updateTMonitor(TMonitor tMonitor);
 
    /**
     * 批量删除设备资产
     *
     * @param ids 需要删除的设备资产主键集合
     * @return 结果
     */
    public int deleteTMonitorByIds(Long[] ids);
 
    /**
     * 删除设备资产信息
     *
     * @param id 设备资产主键
     * @return 结果
     */
    public int deleteTMonitorById(Long id);
 
    /**
     * 获取指定摄像头功能类型下的视频数量。
     *
     * @param cameraFunType 摄像头功能类型,用于筛选视频。
     * @return 返回一个包含视频数量的Map对象,其中key为统计指标,value为对应功能类型下的统计数量。
     */
    Map<String, String> getVideoCount(String cameraFunType);
 
    Map<String, String> recoveryException();
}