lxw
2023-10-31 4a687665280ee8c21aee3c20e1c325f6d8b87c8c
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
package com.whyc.mapper;
 
import com.whyc.dto.InterfaceParam;
import com.whyc.dto.paramter.AlarmPar;
import com.whyc.dto.result.AlarmRes;
import com.whyc.pojo.BattalarmDataHistory;
import com.whyc.pojo.UserLog;
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);
 
    //int getCount(AlarmPar param);
 
    //List<AlarmRes> getList2(AlarmPar data);
 
    List<AlarmRes> getBattAlarmHistory(List battgroupIds);
 
    //int getCountForInterface(InterfaceParam param);
 
   // List<AlarmRes> getListForInterface(InterfaceParam param);
 
    //查询分级告警的个数
    int serchByLevel(@Param("alarmLevel") int alarmLevel, @Param("uId") int uId);
 
    //List<BattalarmDataHistory> getLevelSubList(int uId, String tableName);
 
    List<BattalarmDataHistory> getDataBeforeRetentionMonth(@Param("retentionTime") Date retentionTime);
 
    //List<BattalarmDataHistory> getListByStationId(Date startTime, Date endTime, String stationId,String tableName);
 
}