leutu
2024-06-03 3ef35e6cd16bbfa206b26bb3271eac40ad020bcb
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
package com.fastbee.iot.mapper;
 
import java.util.List;
import com.fastbee.iot.domain.FunctionLog;
import org.springframework.stereotype.Repository;
 
/**
 * 设备服务下发日志Mapper接口
 * 
 * @author kerwincui
 * @date 2022-10-22
 */
@Repository
public interface FunctionLogMapper 
{
    /**
     * 查询设备服务下发日志
     * 
     * @param id 设备服务下发日志主键
     * @return 设备服务下发日志
     */
    public FunctionLog selectFunctionLogById(Long id);
 
    /**
     * 查询设备服务下发日志列表
     * 
     * @param functionLog 设备服务下发日志
     * @return 设备服务下发日志集合
     */
    public List<FunctionLog> selectFunctionLogList(FunctionLog functionLog);
 
    /**
     * 新增设备服务下发日志
     * 
     * @param functionLog 设备服务下发日志
     * @return 结果
     */
    public int insertFunctionLog(FunctionLog functionLog);
 
    /**
     * 批量插入数据
     * @param list
     */
    public void insertBatch(List<FunctionLog> list);
 
    /**
     * 修改设备服务下发日志
     * 
     * @param functionLog 设备服务下发日志
     * @return 结果
     */
    public int updateFunctionLog(FunctionLog functionLog);
 
    /**
     * 删除设备服务下发日志
     * 
     * @param id 设备服务下发日志主键
     * @return 结果
     */
    public int deleteFunctionLogById(Long id);
 
    /**
     * 根据设备编号删除设备服务下发日志
     *
     * @param serialNumber 设备编号
     * @return 结果
     */
    public int deleteFunctionLogBySerialNumber(String serialNumber);
 
    /**
     * 根据标识符前缀和设备编号批量删除日志
     *
     * @param
     * @return 结果
     */
    public int deleteFunctionLogByPreIdentify(FunctionLog functionLog);
 
    /**
     * 批量删除设备服务下发日志
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFunctionLogByIds(Long[] ids);
 
    /**
     * 批量更新日志状态值
     * @param log 参数
     */
    public void updateFuncLogBatch(FunctionLog log);
 
    /**
     * 根据消息id更新指令下发状态
     * @param log
     */
    public void updateByMessageId(FunctionLog log);
}