修复级联通道回复错误
parent
b0d3bf3ed9
commit
59c79c08e1
|
@ -96,7 +96,6 @@ public class CatalogNotifyMessageHandler extends SIPRequestProcessorParent imple
|
||||||
if (channelReduces.size() > 0) {
|
if (channelReduces.size() > 0) {
|
||||||
for (ChannelReduce channelReduce : channelReduces) {
|
for (ChannelReduce channelReduce : channelReduces) {
|
||||||
DeviceChannel deviceChannel = storager.queryChannel(channelReduce.getDeviceId(), channelReduce.getChannelId());
|
DeviceChannel deviceChannel = storager.queryChannel(channelReduce.getDeviceId(), channelReduce.getChannelId());
|
||||||
// TODO 目前暂时认为这里只用通道没有目录
|
|
||||||
deviceChannel.setParental(0);
|
deviceChannel.setParental(0);
|
||||||
deviceChannel.setParentId(channelReduce.getCatalogId());
|
deviceChannel.setParentId(channelReduce.getCatalogId());
|
||||||
|
|
||||||
|
|
|
@ -584,7 +584,7 @@ public class VideoManagerStoragerImpl implements IVideoManagerStorager {
|
||||||
@Override
|
@Override
|
||||||
public List<ChannelReduce> queryChannelListInParentPlatform(String platformId) {
|
public List<ChannelReduce> queryChannelListInParentPlatform(String platformId) {
|
||||||
|
|
||||||
return deviceChannelMapper.queryChannelListInAll(null, null, null, platformId, null);
|
return deviceChannelMapper.queryChannelListInAll(null, null, null, platformId, platformId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue