lxw
2023-04-25 a3dd5e747bc4b8e8ceaead18f1055c07f51a0cf0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.whyc.mapper;
 
import com.whyc.pojo.PwrdevAlarmHistory;
import org.apache.ibatis.annotations.Param;
 
import java.util.Date;
import java.util.List;
 
public interface PwrdevAlarmHistoryMapper extends CustomMapper<PwrdevAlarmHistory> {
    //查询所有的实时历史告警信息
    List getHistoryAllPage(PwrdevAlarmHistory pwrH);
 
    //查询所有的通讯电源历史告警信息
    List<PwrdevAlarmHistory> getHistoryAllPage2(PwrdevAlarmHistory pwrH);
 
    List<PwrdevAlarmHistory> getPwrdevAlarmHistory(List powerDeviceIds);
 
    //查询分级告警的个数
    int serchByLevel(@Param("alarmLevel") int alarmLevel, @Param("uId") int uId, @Param("almTypes") List<Integer> almTypes);
 
    List<PwrdevAlarmHistory> getDataBeforeRetentionMonth(@Param("retentionTime") Date retentionTime);
 
}