648540858 2 лет назад
Родитель
Сommit
1421b4743c

+ 2 - 2
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);