From 0ab50eb1c00770f8d544908e3ec86775609fcc4b Mon Sep 17 00:00:00 2001 From: lin <648540858@qq.com> Date: Wed, 5 Nov 2025 17:07:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../event/request/impl/NotifyRequestForCatalogProcessor.java | 4 ++-- .../java/com/genersoft/iot/vmp/service/bean/GPSMsgInfo.java | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/NotifyRequestForCatalogProcessor.java b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/NotifyRequestForCatalogProcessor.java index 6f563573b..5e49356d7 100755 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/NotifyRequestForCatalogProcessor.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/NotifyRequestForCatalogProcessor.java @@ -288,7 +288,7 @@ public class NotifyRequestForCatalogProcessor extends SIPRequestProcessorParent switch (notifyCatalogChannel.getType()) { case STATUS_CHANGED: deviceChannelService.updateChannelStatusForNotify(notifyCatalogChannel.getChannel()); - CommonGBChannel channelForStatus = channelService.getOne(notifyCatalogChannel.getChannel().getId()); + CommonGBChannel channelForStatus = channelService.queryBySourceChannelId(notifyCatalogChannel.getChannel()); if ("ON".equals(notifyCatalogChannel.getChannel().getStatus()) ) { eventPublisher.channelEventPublish(channelForStatus, ChannelEvent.ChannelEventMessageType.ON); }else { @@ -313,7 +313,7 @@ public class NotifyRequestForCatalogProcessor extends SIPRequestProcessorParent break; } }catch (Exception e) { - log.error("[存储收到的通道]类型:{},编号:{}", notifyCatalogChannel.getType(), + log.error("[存储收到的通道-异常]类型:{},编号:{}", notifyCatalogChannel.getType(), notifyCatalogChannel.getChannel().getDeviceId(), e); } } diff --git a/src/main/java/com/genersoft/iot/vmp/service/bean/GPSMsgInfo.java b/src/main/java/com/genersoft/iot/vmp/service/bean/GPSMsgInfo.java index fca4751d3..eca5c5d9a 100755 --- a/src/main/java/com/genersoft/iot/vmp/service/bean/GPSMsgInfo.java +++ b/src/main/java/com/genersoft/iot/vmp/service/bean/GPSMsgInfo.java @@ -17,6 +17,11 @@ public class GPSMsgInfo { */ private Integer channelId; + /** + * + */ + private String app; + /** * 经度 (必选) */