lxw
2023-03-07 097a19a80c2c4e5bfa41b0d48b818c20f030aea5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.whyc.mapper;
 
import com.whyc.dto.paramter.DevAlarmPar;
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);
 
    List getDevAlarmHistory(List deviceIds);
 
    //查询分级告警的个数
    int serchByLevel(@Param("alarmLevel") int alarmLevel, @Param("uId") int uId);
 
    List<DevalarmDataHistory> getDataBeforeRetentionMonth(@Param("retentionTime") Date retentionTime);
 
}