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);
|
|
}
|