瀏覽代碼

修复表名错误 #904

648540858 2 年之前
父節點
當前提交
f4e5e03962
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java

+ 1 - 1
src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java

@@ -457,7 +457,7 @@ public interface DeviceChannelMapper {
     // 设备主子码流逻辑END
     @Select(value = {" <script>" +
             "select * " +
-            "from device_channel " +
+            "from wvp_device_channel " +
             "where device_id=#{deviceId}" +
             " <if test='parentId != null '> and parent_id = #{parentId} </if>" +
             " <if test='parentId == null '> and parent_id is null </if>" +