mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-24 05:57:49 +08:00
修复设备上线通用通道不上线的问题
This commit is contained in:
parent
f38d561e60
commit
8795281443
@ -154,10 +154,10 @@ public class DeviceServiceImpl implements IDeviceService {
|
|||||||
logger.error("[命令发送失败] 查询设备信息: {}", e.getMessage());
|
logger.error("[命令发送失败] 查询设备信息: {}", e.getMessage());
|
||||||
}
|
}
|
||||||
sync(device);
|
sync(device);
|
||||||
List<Integer> ids = deviceChannelMapper.getCommonChannelIdList(device.getDeviceId());
|
}
|
||||||
if (!ids.isEmpty()) {
|
List<Integer> ids = deviceChannelMapper.getCommonChannelIdList(device.getDeviceId());
|
||||||
commonGbChannelService.onlineForList(ids);
|
if (!ids.isEmpty()) {
|
||||||
}
|
commonGbChannelService.onlineForList(ids);
|
||||||
}
|
}
|
||||||
// 上线添加订阅
|
// 上线添加订阅
|
||||||
if (device.getSubscribeCycleForCatalog() > 0) {
|
if (device.getSubscribeCycleForCatalog() > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user