whyclxw
2025-05-07 45ef9e340f9bb4b98fd88a758343470dfe125cb3
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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);
 
    //山西晋源特定接口
    int getRealTimeWithLevel1JY();
 
    //通信电源告警--认证送检-配电柜专用
    List<PwrdevAlarm> getAllPage2(PwrdevAlarm pwrdevAlarm);
 
    int getSeriousAlarmCount(int uId);
 
    //电源实时告警-首页foot
    List<PwrdevAlarm> getRealAlarmFoot(Date yesterday, int uId);
 
    List<PwrdevAlarm> getRealAlarmListWithLevel1(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);
 
    //山西晋源特定接口
    List<PwrdevAlarm> getAnalysisJY( @Param("types") List<Integer> types);
 
    //查询实时告警总数
    int getpwrAlm(String stationId);
 
    //今日实时告警
    List<PwrdevAlarm> getPalmToday(int userId);
 
    List<Integer> getStationList(int userId);
 
    //电源设备告警机房
    int getQualityAnalysisStation(int userId);
 
    int getCountByStationIds(List<String> stationIdList, Integer level);
 
    List<PwrdevAlarm> getListByStationIds(List<String> stationIdList);
 
    List<PwrdevAlarm> getLevelListByUserId(int userId);
 
}