| | |
| | | package com.whyc.mapper; |
| | | |
| | | import com.whyc.dto.BatteryAlarmDto; |
| | | import com.whyc.dto.BatteryInfo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface BatteryAlarmMapper { |
| | |
| | | Integer getHighAlarmsNO(int userId); |
| | | |
| | | //根据类型查询告警数量 almSignalId |
| | | Integer getAlarmsNO(@Param(value = "almSignalId") int almSignalId, @Param(value = "userId") int userId); |
| | | BatteryAlarmDto getOnlineAndGroupAlarms(@Param(value = "alarmId")int alarmId, @Param(value = "almSignalId") int almSignalId, @Param(value = "userId") int userId); |
| | | |
| | | //放电电流 告警机房总数 |
| | | BatteryAlarmDto getLowDischargeAlarms(@Param(value = "userId")int userId, @Param(value = "almSignalId")int almSignalId); |
| | | |
| | | //单体电压 高、低 告警数量 |
| | | Integer getVolAlamHighLow(@Param(value = "userId")int userId, @Param(value = "almSignalId")int almSignalId); |
| | | |
| | | //单体内阻 高、低 告警数量 |
| | | Integer getResistanceAlamHighLow(@Param(value = "userId")int userId, @Param(value = "almSignalId")int almSignalId); |
| | | |
| | | //单体温度 高、低 告警数量 |
| | | Integer getTemperatureAlamHighLow(@Param(value = "userId")int userId, @Param(value = "almSignalId")int almSignalId); |
| | | |
| | | //根据 alm_id 查询告警机房总数 |
| | | Integer getVRTTotalAlarms(@Param(value = "userId")int userId, @Param(value = "almId")int almId); |
| | | |
| | | |
| | | } |