Commit 82f4fef876142ef04513ba4bd1356c67806b5777
1 parent
eca1e05a
解决目录订阅存储bug
Showing
2 changed files
with
3 additions
and
0 deletions
src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java
| ... | ... | @@ -33,6 +33,7 @@ public interface DeviceMapper { |
| 33 | 33 | "createTime," + |
| 34 | 34 | "updateTime," + |
| 35 | 35 | "charset," + |
| 36 | + "subscribeCycleForCatalog," + | |
| 36 | 37 | "online" + |
| 37 | 38 | ") VALUES (" + |
| 38 | 39 | "#{deviceId}," + |
| ... | ... | @@ -51,6 +52,7 @@ public interface DeviceMapper { |
| 51 | 52 | "#{createTime}," + |
| 52 | 53 | "#{updateTime}," + |
| 53 | 54 | "#{charset}," + |
| 55 | + "#{subscribeCycleForCatalog}," + | |
| 54 | 56 | "#{online}" + |
| 55 | 57 | ")") |
| 56 | 58 | int add(Device device); |
| ... | ... | @@ -72,6 +74,7 @@ public interface DeviceMapper { |
| 72 | 74 | "<if test=\"keepaliveTime != null\">, keepaliveTime='${keepaliveTime}'</if>" + |
| 73 | 75 | "<if test=\"expires != null\">, expires=${expires}</if>" + |
| 74 | 76 | "<if test=\"charset != null\">, charset='${charset}'</if>" + |
| 77 | + "<if test=\"subscribeCycleForCatalog != null\">, subscribeCycleForCatalog=#{subscribeCycleForCatalog}</if>" + | |
| 75 | 78 | "WHERE deviceId='${deviceId}'"+ |
| 76 | 79 | " </script>"}) |
| 77 | 80 | int update(Device device); | ... | ... |
src/main/resources/wvp.sqlite
No preview for this file type