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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.whyc.mapper;
 
import com.whyc.pojo.PwrdevAlarm;
import org.apache.ibatis.annotations.Param;
 
import java.util.Date;
import java.util.List;
 
public interface PwrdevAlarmMapper extends CustomMapper<PwrdevAlarm>{
    //电源实时告警第三方接口
    List<PwrdevAlarm> getPwrdevAlarm(@Param("powerDeviceIds")List powerDeviceIds);
 
    List<PwrdevAlarm> getPwrdevAlarm2();
    //获取用户电源实时告警数据
    List<PwrdevAlarm> getSendPwrdevAlarm(@Param("uId") Integer uId);
    //电源实时告警
    List<PwrdevAlarm> getAllPage(PwrdevAlarm pwrdevAlarm);
 
    //电源告警个数
    int getAlarmNum(int uId);
 
    int getRealTimeWithLevel1(int uId);
 
    //通信电源告警--认证送检-配电柜专用
    List<PwrdevAlarm> getAllPage2(PwrdevAlarm pwrdevAlarm);
 
    int getSeriousAlarmCount(int uId);
 
    //电源实时告警-首页foot
    List<PwrdevAlarm> getRealAlarmFoot(Date yesterday, int uId);
 
    List<PwrdevAlarm> getList(@Param("uId") Long userId, @Param("type") int type);
 
    //查询分级告警的个数
    int serchByLevel(@Param("alarmLevel") int alarmLevel, @Param("uId") int uId, @Param("almTypes") List<Integer> almTypes);
 
    List<PwrdevAlarm> getAnalysis(int userId, List<Integer> types);
 
    //查询实时告警总数
    int getpwrAlm(String stationId);
 
    //今日实时告警
    List<PwrdevAlarm> getPalmToday(int userId);
 
    List<Integer> getStationList(int userId);
 
    //电源设备告警机房
    int getQualityAnalysisStation(int userId);
}