648540858
2021-11-12 82f4fef876142ef04513ba4bd1356c67806b5777
解决目录订阅存储bug
2个文件已修改
3 ■■■■■ 已修改文件
src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/wvp.sqlite 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java
@@ -33,6 +33,7 @@
                "createTime," +
                "updateTime," +
                "charset," +
                "subscribeCycleForCatalog," +
                "online" +
            ") VALUES (" +
                "#{deviceId}," +
@@ -51,6 +52,7 @@
                "#{createTime}," +
                "#{updateTime}," +
                "#{charset}," +
                "#{subscribeCycleForCatalog}," +
                "#{online}" +
            ")")
    int add(Device device);
@@ -72,6 +74,7 @@
                "<if test=\"keepaliveTime != null\">, keepaliveTime='${keepaliveTime}'</if>" +
                "<if test=\"expires != null\">, expires=${expires}</if>" +
                "<if test=\"charset != null\">, charset='${charset}'</if>" +
                "<if test=\"subscribeCycleForCatalog != null\">, subscribeCycleForCatalog=#{subscribeCycleForCatalog}</if>" +
                "WHERE deviceId='${deviceId}'"+
            " </script>"})
    int update(Device device);
src/main/resources/wvp.sqlite
Binary files differ