修复REDIS更新推流设备状态

This commit is contained in:
648540858
2024-09-19 17:21:38 +08:00
parent 89650c6d89
commit 77f1dfb6d6
5 changed files with 35 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
package com.genersoft.iot.vmp.gb28181.service;
import com.genersoft.iot.vmp.gb28181.bean.*;
import com.genersoft.iot.vmp.streamPush.bean.StreamPush;
import com.github.pagehelper.PageInfo;
import java.util.Collection;
@@ -78,4 +79,6 @@ public interface IGbChannelService {
void updateCivilCode(String oldCivilCode, String newCivilCode);
List<CommonGBChannel> queryListByStreamPushList(List<StreamPush> streamPushList);
}

View File

@@ -10,6 +10,7 @@ import com.genersoft.iot.vmp.gb28181.event.EventPublisher;
import com.genersoft.iot.vmp.gb28181.event.subscribe.catalog.CatalogEvent;
import com.genersoft.iot.vmp.gb28181.service.IGbChannelService;
import com.genersoft.iot.vmp.gb28181.service.IPlatformChannelService;
import com.genersoft.iot.vmp.streamPush.bean.StreamPush;
import com.genersoft.iot.vmp.utils.DateUtil;
import com.genersoft.iot.vmp.vmanager.bean.ErrorCode;
import com.github.pagehelper.PageHelper;
@@ -675,4 +676,9 @@ public class GbChannelServiceImpl implements IGbChannelService {
}
}
}
@Override
public List<CommonGBChannel> queryListByStreamPushList(List<StreamPush> streamPushList) {
return commonGBChannelMapper.queryListByStreamPushList(streamPushList);
}
}