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{ //设备告警实时查询 List serchByInfo(@Param("par") DevAlarmPar par); //设备告警数查询 int searchNums(int intValue); List getRealAlarm(Date yesterday, int uId); List getRealAlarmListWithLevel1(int uId); List getDevAlarm(@Param("deviceIds") List deviceIds); List getDevAlarm2(); List getSendDevAlarm(@Param("uId") Integer uId); List getList(@Param("uId") Long userId, @Param("type") int type); //查询分级告警的个数 int serchByLevel(@Param("alarmLevel") int alarmLevel, @Param("uId") int uId); //查询实时告警总数 int getdevAlm(String stationId); //今日实时告警 List getDalmToday(int userId); List getStationList(int userId); //设备告警机房 int getQualityAnalysisStation(int userId); int getCountByStationIds(List stationIdList, Integer level); List getListByStationIds(List stationIdList); List getLevelListByUserId(int userId); //判断机房下的设备告警是否都存在通讯告警 119020 int judgeCommErr(@Param("stationId") String stationId,@Param("almType") int almType); }