修复级联通道回复错误

This commit is contained in:
648540858 2022-02-16 15:13:16 +08:00
parent 58f40d5963
commit ceca493999
2 changed files with 1 additions and 2 deletions

View File

@ -96,7 +96,6 @@ public class CatalogNotifyMessageHandler extends SIPRequestProcessorParent imple
if (channelReduces.size() > 0) {
for (ChannelReduce channelReduce : channelReduces) {
DeviceChannel deviceChannel = storager.queryChannel(channelReduce.getDeviceId(), channelReduce.getChannelId());
// TODO 目前暂时认为这里只用通道没有目录
deviceChannel.setParental(0);
deviceChannel.setParentId(channelReduce.getCatalogId());

View File

@ -584,7 +584,7 @@ public class VideoManagerStoragerImpl implements IVideoManagerStorager {
@Override
public List<ChannelReduce> queryChannelListInParentPlatform(String platformId) {
return deviceChannelMapper.queryChannelListInAll(null, null, null, platformId, null);
return deviceChannelMapper.queryChannelListInAll(null, null, null, platformId, platformId);
}
@Override