IIotAlertLogService.java
1.3 KB
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
package com.ruoyi.system.service;
import com.ruoyi.system.domain.IotAlertLog;
import java.util.List;
/**
* 设备告警Service接口
*
* @author kerwincui
* @date 2022-01-13
*/
public interface IIotAlertLogService
{
/**
* 查询设备告警
*
* @param alertLogId 设备告警主键
* @return 设备告警
*/
public IotAlertLog selectAlertLogByAlertLogId(Long alertLogId);
/**
* 查询设备告警列表
*
* @param alertLog 设备告警
* @return 设备告警集合
*/
public List<IotAlertLog> selectAlertLogList(IotAlertLog alertLog);
/**
* 新增设备告警
*
* @param alertLog 设备告警
* @return 结果
*/
public int insertAlertLog(IotAlertLog alertLog);
/**
* 修改设备告警
*
* @param alertLog 设备告警
* @return 结果
*/
public int updateAlertLog(IotAlertLog alertLog);
/**
* 批量删除设备告警
*
* @param alertLogIds 需要删除的设备告警主键集合
* @return 结果
*/
public int deleteAlertLogByAlertLogIds(Long[] alertLogIds);
/**
* 删除设备告警信息
*
* @param alertLogId 设备告警主键
* @return 结果
*/
public int deleteAlertLogByAlertLogId(Long alertLogId);
}