lxw
2023-08-15 160e150009b51a39fa95d9462c3798ba28d51a09
src/main/java/com/whyc/service/DevalarmDataService.java
@@ -120,6 +120,10 @@
        return battDevAlarmDataMapper.searchNums(userId);
    }
    public int getRealTimeWithLevel1(int userId) {
        return battDevAlarmDataMapper.getRealTimeWithLevel1(userId);
    }
    //今日实时告警
    public Response getDalmToday(int userId) {
        try {
@@ -156,4 +160,14 @@
    public List<Integer> getStationList(int userId) {
        return mapper.getStationList(userId);
    }
    public int getCountByStationIds(List<String> stationIdList, Integer level) {
        return mapper.getCountByStationIds(stationIdList, level);
    }
    public List<DevalarmData> getListByStationIds(List<String> stationIdList) {
        return mapper.getListByStationIds(stationIdList);
    }
}