修复zlm节点离线拉流代理sql调用错误
parent
5b393b7273
commit
b38e5508f6
|
@ -387,11 +387,14 @@ public class StreamProxyServiceImpl implements IStreamProxyService {
|
||||||
streamProxiesForSendMessage.add(streamProxy);
|
streamProxiesForSendMessage.add(streamProxy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 移除开启了无人观看自动移除的流
|
if (!streamProxiesForRemove.isEmpty()) {
|
||||||
streamProxyMapper.deleteByList(streamProxiesForRemove);
|
// 移除开启了无人观看自动移除的流
|
||||||
// 修改国标关联的国标通道的状态
|
streamProxyMapper.deleteByList(streamProxiesForRemove);
|
||||||
gbChannelService.offline(channelListForOffline);
|
}
|
||||||
|
if (!streamProxiesForRemove.isEmpty()) {
|
||||||
|
// 修改国标关联的国标通道的状态
|
||||||
|
gbChannelService.offline(channelListForOffline);
|
||||||
|
}
|
||||||
if (!streamProxiesForSendMessage.isEmpty()) {
|
if (!streamProxiesForSendMessage.isEmpty()) {
|
||||||
for (StreamProxy streamProxy : streamProxiesForSendMessage) {
|
for (StreamProxy streamProxy : streamProxiesForSendMessage) {
|
||||||
JSONObject jsonObject = new JSONObject();
|
JSONObject jsonObject = new JSONObject();
|
||||||
|
|
Loading…
Reference in New Issue