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 68ad28df..ed2d8c89 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
@@ -33,6 +33,7 @@ public interface DeviceMapper {
"createTime," +
"updateTime," +
"charset," +
+ "subscribeCycleForCatalog," +
"online" +
") VALUES (" +
"#{deviceId}," +
@@ -51,6 +52,7 @@ public interface DeviceMapper {
"#{createTime}," +
"#{updateTime}," +
"#{charset}," +
+ "#{subscribeCycleForCatalog}," +
"#{online}" +
")")
int add(Device device);
@@ -72,6 +74,7 @@ public interface DeviceMapper {
", keepaliveTime='${keepaliveTime}'" +
", expires=${expires}" +
", charset='${charset}'" +
+ ", subscribeCycleForCatalog=#{subscribeCycleForCatalog}" +
"WHERE deviceId='${deviceId}'"+
" "})
int update(Device device);
diff --git a/src/main/resources/wvp.sqlite b/src/main/resources/wvp.sqlite
index c2e08930..88aea8ed 100644
Binary files a/src/main/resources/wvp.sqlite and b/src/main/resources/wvp.sqlite differ