lxw
2023-07-29 d1675cea759f0090c43860efabdeb9448d25c41d
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
package com.whyc.mapper;
 
import com.whyc.dto.InterfaceParam;
import com.whyc.dto.paramter.DevAlarmPar;
import com.whyc.dto.result.AlarmRes;
import com.whyc.pojo.BattalarmData;
import com.whyc.pojo.BattalarmDataHistory;
import com.whyc.pojo.DevalarmDataHistory;
import org.apache.ibatis.annotations.Param;
 
import java.util.Date;
import java.util.List;
 
public interface DevalarmDataHistoryMapper extends CustomMapper<DevalarmDataHistory> {
    //设备告警历史查询
    List serchByCondition(DevAlarmPar par);
 
    int getCount(DevAlarmPar param);
 
    List<DevalarmDataHistory> getList2(DevAlarmPar data);
 
    List getDevAlarmHistory(List deviceIds);
 
    int getCountForInterface(InterfaceParam param);
 
    List getListForInterface(InterfaceParam param);
 
    //查询分级告警的个数
    int serchByLevel(@Param("alarmLevel") int alarmLevel, @Param("uId") int uId);
 
    List<DevalarmDataHistory> getDataBeforeRetentionMonth(@Param("retentionTime") Date retentionTime);
 
    List<BattalarmDataHistory> getLevelSubList(int uId, String tableName);
}