|
|
@ -315,6 +315,9 @@ public class VideoManagerStorageImpl implements IVideoManagerStorage { |
|
|
|
List<DeviceChannel> all; |
|
|
|
if (catalogUnderDevice != null && catalogUnderDevice) { |
|
|
|
all = deviceChannelMapper.queryChannels(deviceId, deviceId, query, hasSubChannel, online); |
|
|
|
// 海康设备的parentId是SIP id
|
|
|
|
List<DeviceChannel> deviceChannels = deviceChannelMapper.queryChannels(deviceId, sipConfig.getId(), query, hasSubChannel, online); |
|
|
|
all.addAll(deviceChannels); |
|
|
|
}else { |
|
|
|
all = deviceChannelMapper.queryChannels(deviceId, null, query, hasSubChannel, online); |
|
|
|
} |
|
|
|