解决目录订阅存储bug

pull/231/head
648540858 2021-11-12 15:42:37 +08:00
parent eca1e05aee
commit 82f4fef876
2 changed files with 3 additions and 0 deletions

View File

@ -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 {
"<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);

Binary file not shown.