Browse Source

修复bug与修改通道名

pull/317/head
648540858 3 years ago
parent
commit
9be861abcc
  1. 2
      src/main/java/com/genersoft/iot/vmp/common/VideoManagerConstants.java
  2. 2
      src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java

2
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_";

2
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" +
"<foreach collection='platforms' item='item' open='(' separator=',' close=')' > #{item}</foreach>" +
"</script> ")

Loading…
Cancel
Save