whyclxw
2025-05-28 e16302f9d475c7cc4dd18c5abf1a23cb5502e362
src/main/java/com/whyc/mapper/PwrdevAlarmMapper.java
@@ -19,6 +19,11 @@
    //电源告警个数
    int getAlarmNum(int uId);
    int getRealTimeWithLevel1(int uId);
    //山西晋源特定接口
    int getRealTimeWithLevel1JY();
    //通信电源告警--认证送检-配电柜专用
    List<PwrdevAlarm> getAllPage2(PwrdevAlarm pwrdevAlarm);
@@ -27,11 +32,34 @@
    //电源实时告警-首页foot
    List<PwrdevAlarm> getRealAlarmFoot(Date yesterday, int uId);
    List<PwrdevAlarm> getList(@Param("uId") Long userId,@Param("type") int type);
    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);
}