Commit 59c79c08e100ada25616697b8bc85d266a680813
1 parent
b0d3bf3e
修复级联通道回复错误
Showing
2 changed files
with
1 additions
and
2 deletions
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/message/notify/cmd/CatalogNotifyMessageHandler.java
| ... | ... | @@ -96,7 +96,6 @@ public class CatalogNotifyMessageHandler extends SIPRequestProcessorParent imple |
| 96 | 96 | if (channelReduces.size() > 0) { |
| 97 | 97 | for (ChannelReduce channelReduce : channelReduces) { |
| 98 | 98 | DeviceChannel deviceChannel = storager.queryChannel(channelReduce.getDeviceId(), channelReduce.getChannelId()); |
| 99 | - // TODO 目前暂时认为这里只用通道没有目录 | |
| 100 | 99 | deviceChannel.setParental(0); |
| 101 | 100 | deviceChannel.setParentId(channelReduce.getCatalogId()); |
| 102 | 101 | ... | ... |
src/main/java/com/genersoft/iot/vmp/storager/impl/VideoManagerStoragerImpl.java
| ... | ... | @@ -584,7 +584,7 @@ public class VideoManagerStoragerImpl implements IVideoManagerStorager { |
| 584 | 584 | @Override |
| 585 | 585 | public List<ChannelReduce> queryChannelListInParentPlatform(String platformId) { |
| 586 | 586 | |
| 587 | - return deviceChannelMapper.queryChannelListInAll(null, null, null, platformId, null); | |
| 587 | + return deviceChannelMapper.queryChannelListInAll(null, null, null, platformId, platformId); | |
| 588 | 588 | } |
| 589 | 589 | |
| 590 | 590 | @Override | ... | ... |