package com.whyc.mapper; import com.whyc.dto.BattMaintDealarm; import com.whyc.dto.paramter.AlarmPar; import com.whyc.dto.result.AlarmRes; import com.whyc.dto.result.AlarmStaticRes; import com.whyc.pojo.BattMapInformation; import com.whyc.pojo.BattalarmData; import com.whyc.pojo.Battinf; import com.whyc.pojo.WorkflowAlarm; import org.apache.ibatis.annotations.Param; import java.util.Date; import java.util.List; public interface BattalarmDataMapper extends CustomMapper{ //测试 List test(BattalarmData battalarmData); //历史告警查询 List serchByInfo(AlarmPar par); //实时告警查询 List serchByCondition(AlarmPar par); //查询实时告警数 List serchAlm(AlarmPar par); //根据num取消告警 int cancelalarm(int num); //根据num取消告警(多条记录) //int cancelalarmPro(List list); //实时告警记录总数查询 int serchRealTime(int uId); int getRealTimeWithLevel1(int uId); //山西晋源特定接口 int getRealTimeWithLevel1JY(); //电池单体健康率 List serchGood(int uId); List getAlarmList(); void updateWorkFlag(List battAlarmList); List getCountByStationId(String stationId,int[] alarmParams); List getRealAlarm(Date yesterday,int uId,int[] alarmParams); List getRealAlarmListWithLevel1(int uId); List findAllStation(@Param("alarmParams") int[] alarmParams); List getBattAlarm(@Param("battgroupIds") List battgroupIds); List getSendBattAlarm(@Param("uId") Integer uId); List getBattAlarm2(); List getList(@Param("uId") Long userId, @Param("type") int type); //查询分级告警的个数 int serchByLevel(@Param("alarmLevel") int alarmLevel, @Param("uId") int uId); Integer getAlarmHighLow(@Param(value = "userId") int userId, @Param(value = "almSignalId") int almSignalId); //山西晋源特定接口 Integer getAlarmHighLowJY(@Param(value = "almSignalId") int almSignalId); //查询实时告警总数 int getbattAlm(int battGroupId); //今日实时告警 List getBalmToday(int userId); List getStationList(int userId); //电池告警机房 int getQualityAnalysisStation(int userId); int getCapAlarmNum(int userId); int getCountByStationIds(List stationIdList, Integer level); List getListByStationIds(List stationIdList); //电池告警(劣化:内阻过高重要,电压过低重要;损坏:内阻过高紧急,电压过低紧急) List searchAlarmLHorSH(int userId, int severity, List listAlm); //查询电池告警(劣化:内阻过高重要,电压过低重要;损坏:内阻过高紧急,电压过低紧急) List getAlm(Integer battGroupId, Integer almFlag); List getAlm2(Integer battGroupId); List getLevelListByUserId(int userId); //查询b所有实时电池告警信息 List getAllBattAlarmInSz2(Integer userId); }