From 9be861abcc9361d714192fe2a233bb2c09213665 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Tue, 18 Jan 2022 16:37:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug=E4=B8=8E=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=80=9A=E9=81=93=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/genersoft/iot/vmp/common/VideoManagerConstants.java | 2 +- .../genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/common/VideoManagerConstants.java b/src/main/java/com/genersoft/iot/vmp/common/VideoManagerConstants.java index 7f659abb..ffbed508 100644 --- a/src/main/java/com/genersoft/iot/vmp/common/VideoManagerConstants.java +++ b/src/main/java/com/genersoft/iot/vmp/common/VideoManagerConstants.java @@ -64,7 +64,7 @@ public class VideoManagerConstants { //************************** redis 消息********************************* public static final String WVP_MSG_STREAM_CHANGE_PREFIX = "WVP_MSG_STREAM_CHANGE_"; - public static final String WVP_MSG_GPS_PREFIX = "WVP_MSG_GPS_"; + public static final String WVP_MSG_GPS_PREFIX = "VM_MSG_GPS"; //************************** 第三方 **************************************** public static final String WVP_STREAM_GB_ID_PREFIX = "memberNo_"; diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java index 0991c843..4f5de2b8 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java @@ -83,7 +83,7 @@ public interface PlatformChannelMapper { "left join platform_gb_channel pgc on " + "pp.serverGBId = pgc.platformId " + "WHERE " + - "pgc.channelId = #{channelId} pp.status = true " + + "pgc.channelId = #{channelId} and pp.status = true " + "AND pp.serverGBId IN" + " #{item}" + " ")