diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java index fcd59b0d..3751a246 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java @@ -272,7 +272,7 @@ public interface DeviceMapper { "asMessageChannel," + "geoCoordSys," + "treeType," + - "online" + + "online," + "mediaServerId" + ") VALUES (" + "#{deviceId}," + @@ -286,7 +286,7 @@ public interface DeviceMapper { "#{asMessageChannel}," + "#{geoCoordSys}," + "#{treeType}," + - "#{online}" + + "#{online}," + "#{mediaServerId}" + ")") void addCustomDevice(Device device);