TDeviceReportDataMapper.java 2.23 KB
Newer Older
1 2 3 4
package com.zehong.system.mapper;

import java.util.List;
import com.zehong.system.domain.TDeviceReportData;
5 6
import com.zehong.system.domain.form.DeviceReportDataForm;
import com.zehong.system.domain.vo.DeviceReportDataVo;
7 8 9 10 11 12 13 14 15 16 17 18

/**
 * 设备监控Mapper接口
 * 
 * @author zehong
 * @date 2021-08-09
 */
public interface TDeviceReportDataMapper 
{
    /**
     * 查询设备监控
     * 
王晓倩's avatar
王晓倩 committed
19
     * @param deviceNum 物联网编号
20 21
     * @return 设备监控
     */
王晓倩's avatar
王晓倩 committed
22
    public TDeviceReportData selectTDeviceReportDataByDeviceNum(String deviceNum);
23 24 25 26

    /**
     * 查询设备监控列表
     * 
王晓倩's avatar
王晓倩 committed
27 28 29 30 31
     * @param deviceNum 物联网编号
     * @return 设备监控集合
     */
    public List<TDeviceReportData> getTDeviceReportDataList(String deviceNum);

32 33 34 35 36 37 38 39
    /**
     * 查询设备监控列表
     *
     * @param tDeviceReportData 设备监控
     * @return 设备监控集合
     */
    public List<TDeviceReportData> getAlarmDeviceReportDataList(TDeviceReportData tDeviceReportData);

王晓倩's avatar
王晓倩 committed
40 41 42
    /**
     * 查询设备监控列表
     *
43 44 45 46 47 48 49 50 51
     * @param deviceReportDataForm 设备监控
     * @return 设备监控集合
     */
    public List<DeviceReportDataVo> selectTDeviceReportDataList(DeviceReportDataForm deviceReportDataForm);

    /**
     * 查询设备监控实时数据
     *
     * @param deviceReportDataForm 设备监控
52 53
     * @return 设备监控集合
     */
54
    public List<DeviceReportDataVo> selectRealtimeDataList(DeviceReportDataForm deviceReportDataForm);
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

    /**
     * 新增设备监控
     * 
     * @param tDeviceReportData 设备监控
     * @return 结果
     */
    public int insertTDeviceReportData(TDeviceReportData tDeviceReportData);

    /**
     * 修改设备监控
     * 
     * @param tDeviceReportData 设备监控
     * @return 结果
     */
    public int updateTDeviceReportData(TDeviceReportData tDeviceReportData);

    /**
     * 删除设备监控
     * 
     * @param deviceReportDataId 设备监控ID
     * @return 结果
     */
    public int deleteTDeviceReportDataById(Long deviceReportDataId);

    /**
     * 批量删除设备监控
     * 
     * @param deviceReportDataIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTDeviceReportDataByIds(Long[] deviceReportDataIds);
}