Commit 9be861abcc9361d714192fe2a233bb2c09213665

Authored by 648540858
1 parent 59e3a280

修复bug与修改通道名

src/main/java/com/genersoft/iot/vmp/common/VideoManagerConstants.java
@@ -64,7 +64,7 @@ public class VideoManagerConstants { @@ -64,7 +64,7 @@ public class VideoManagerConstants {
64 64
65 //************************** redis 消息********************************* 65 //************************** redis 消息*********************************
66 public static final String WVP_MSG_STREAM_CHANGE_PREFIX = "WVP_MSG_STREAM_CHANGE_"; 66 public static final String WVP_MSG_STREAM_CHANGE_PREFIX = "WVP_MSG_STREAM_CHANGE_";
67 - public static final String WVP_MSG_GPS_PREFIX = "WVP_MSG_GPS_"; 67 + public static final String WVP_MSG_GPS_PREFIX = "VM_MSG_GPS";
68 68
69 //************************** 第三方 **************************************** 69 //************************** 第三方 ****************************************
70 public static final String WVP_STREAM_GB_ID_PREFIX = "memberNo_"; 70 public static final String WVP_STREAM_GB_ID_PREFIX = "memberNo_";
src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java
@@ -83,7 +83,7 @@ public interface PlatformChannelMapper { @@ -83,7 +83,7 @@ public interface PlatformChannelMapper {
83 "left join platform_gb_channel pgc on " + 83 "left join platform_gb_channel pgc on " +
84 "pp.serverGBId = pgc.platformId " + 84 "pp.serverGBId = pgc.platformId " +
85 "WHERE " + 85 "WHERE " +
86 - "pgc.channelId = #{channelId} pp.status = true " + 86 + "pgc.channelId = #{channelId} and pp.status = true " +
87 "AND pp.serverGBId IN" + 87 "AND pp.serverGBId IN" +
88 "<foreach collection='platforms' item='item' open='(' separator=',' close=')' > #{item}</foreach>" + 88 "<foreach collection='platforms' item='item' open='(' separator=',' close=')' > #{item}</foreach>" +
89 "</script> ") 89 "</script> ")