修复设备上线通用通道不上线的问题
parent
f38d561e60
commit
8795281443
|
@ -154,10 +154,10 @@ public class DeviceServiceImpl implements IDeviceService {
|
|||
logger.error("[命令发送失败] 查询设备信息: {}", e.getMessage());
|
||||
}
|
||||
sync(device);
|
||||
List<Integer> ids = deviceChannelMapper.getCommonChannelIdList(device.getDeviceId());
|
||||
if (!ids.isEmpty()) {
|
||||
commonGbChannelService.onlineForList(ids);
|
||||
}
|
||||
}
|
||||
List<Integer> ids = deviceChannelMapper.getCommonChannelIdList(device.getDeviceId());
|
||||
if (!ids.isEmpty()) {
|
||||
commonGbChannelService.onlineForList(ids);
|
||||
}
|
||||
// 上线添加订阅
|
||||
if (device.getSubscribeCycleForCatalog() > 0) {
|
||||
|
|
Loading…
Reference in New Issue