lxw
2023-05-25 f3c27fb78447449a950ba73c5e72ceda64ad8a12
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.dto.paramter.AlarmPar;
import com.whyc.dto.result.AlarmRes;
import com.whyc.pojo.BattalarmDataHistory;
import org.apache.ibatis.annotations.Param;
 
import java.util.Date;
import java.util.List;
 
public interface BattalarmDataHistoryMapper extends CustomMapper<BattalarmDataHistory> {
 
    //分页查询所有的历史告警
    List<AlarmRes> serchByInfo(AlarmPar par);
 
    List<AlarmRes> getBattAlarmHistory(List battgroupIds);
 
    //查询分级告警的个数
    int serchByLevel(@Param("alarmLevel") int alarmLevel, @Param("uId") int uId);
 
    List<BattalarmDataHistory> getDataBeforeRetentionMonth(@Param("retentionTime") Date retentionTime);
 
}