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
package com.whyc.mapper;
 
import com.whyc.dto.paramter.DevAlarmPar;
import com.whyc.pojo.DevalarmData;
import org.apache.ibatis.annotations.Param;
 
import java.util.Date;
import java.util.List;
 
public interface DevalarmDataMapper extends CustomMapper<DevalarmData>{
    //设备告警实时查询
    List serchByInfo(@Param("par") DevAlarmPar par);
 
    //设备告警数查询
    int searchNums(int intValue);
 
    List<DevalarmData> getRealAlarm(Date yesterday, int uId);
 
    List<DevalarmData> getRealAlarmListWithLevel1(int uId);
 
    List getDevAlarm(@Param("deviceIds") List deviceIds);
 
    List getDevAlarm2();
 
    List<DevalarmData> getSendDevAlarm(@Param("uId") Integer uId);
 
    List<DevalarmData> getList(@Param("uId") Long userId, @Param("type") int type);
 
    //查询分级告警的个数
    int serchByLevel(@Param("alarmLevel") int alarmLevel, @Param("uId") int uId);
 
    //查询实时告警总数
    int getdevAlm(String stationId);
 
    //今日实时告警
    List<DevalarmData> getDalmToday(int userId);
 
    List<Integer> getStationList(int userId);
 
    //设备告警机房
    int getQualityAnalysisStation(int userId);
 
    int getCountByStationIds(List<String> stationIdList, Integer level);
 
    List<DevalarmData> getListByStationIds(List<String> stationIdList);
 
    List<DevalarmData> getLevelListByUserId(int userId);
    //判断机房下的设备告警是否都存在通讯告警 119020
    int judgeCommErr(@Param("stationId") String stationId,@Param("almType") int almType);
}