mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-25 14:37:53 +08:00
修复国标平台保存
This commit is contained in:
parent
1b33afc0ea
commit
d925f9003d
@ -155,7 +155,7 @@ public class GbChannelServiceImpl implements IGbChannelService {
|
|||||||
}
|
}
|
||||||
List<CommonGBChannel> onlineChannelList = commonGBChannelMapper.queryInListByStatus(commonGBChannelList, "ON");
|
List<CommonGBChannel> onlineChannelList = commonGBChannelMapper.queryInListByStatus(commonGBChannelList, "ON");
|
||||||
if (onlineChannelList.isEmpty()) {
|
if (onlineChannelList.isEmpty()) {
|
||||||
log.warn("[多个通道离线] 更新失败, 参数内通道已经离线");
|
log.warn("[多个通道离线] 更新失败, 参数内通道已经离线, 无需更新");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
int limitCount = 1000;
|
int limitCount = 1000;
|
||||||
@ -209,7 +209,7 @@ public class GbChannelServiceImpl implements IGbChannelService {
|
|||||||
}
|
}
|
||||||
List<CommonGBChannel> offlineChannelList = commonGBChannelMapper.queryInListByStatus(commonGBChannelList, "OFF");
|
List<CommonGBChannel> offlineChannelList = commonGBChannelMapper.queryInListByStatus(commonGBChannelList, "OFF");
|
||||||
if (offlineChannelList.isEmpty()) {
|
if (offlineChannelList.isEmpty()) {
|
||||||
log.warn("[多个通道上线] 更新失败, 参数内通道已经上线线");
|
log.warn("[多个通道上线] 更新失败, 参数内通道已经上线");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
// 批量更新
|
// 批量更新
|
||||||
|
|||||||
@ -23,6 +23,8 @@ import java.util.concurrent.ConcurrentLinkedQueue;
|
|||||||
/**
|
/**
|
||||||
* 接收redis发送的推流设备上线下线通知
|
* 接收redis发送的推流设备上线下线通知
|
||||||
* @author lin
|
* @author lin
|
||||||
|
* 发送 PUBLISH VM_MSG_PUSH_STREAM_STATUS_CHANGE '{"setAllOffline":false,"offlineStreams":[{"app":"1000","stream":"10000022","timeStamp":1726729716551}]}'
|
||||||
|
* 订阅 SUBSCRIBE VM_MSG_PUSH_STREAM_STATUS_CHANGE
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Component
|
@Component
|
||||||
|
|||||||
@ -236,9 +236,9 @@ export default {
|
|||||||
characterSet: "GB2312",
|
characterSet: "GB2312",
|
||||||
startOfflinePush: false,
|
startOfflinePush: false,
|
||||||
customGroup: false,
|
customGroup: false,
|
||||||
catalogWithPlatform: false,
|
catalogWithPlatform: 0,
|
||||||
catalogWithGroup: false,
|
catalogWithGroup: 0,
|
||||||
catalogWithRegion: false,
|
catalogWithRegion: 0,
|
||||||
manufacturer: null,
|
manufacturer: null,
|
||||||
model: null,
|
model: null,
|
||||||
address: null,
|
address: null,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user