From c56258ba8ae5e1975eb4cf7daa220a4c748b1115 Mon Sep 17 00:00:00 2001 From: ljm <1271952916@qq.com> Date: 星期二, 01 十一月 2022 17:25:47 +0800 Subject: [PATCH] 【同步设备通道】第一次收到同步请求应该将通道放入 不然会造成通道数量不一致 同步时也会漏掉第一个通道 --- src/main/java/com/genersoft/iot/vmp/storager/dao/LogMapper.java | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/LogMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/LogMapper.java index 18fa91b..9716c75 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/LogMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/LogMapper.java @@ -21,7 +21,6 @@ "values ('${name}', '${type}', '${uri}', '${address}', '${result}', ${timing}, '${username}', '${createTime}')") int add(LogDto logDto); - @Select(value = {"<script>" + " SELECT * FROM log " + " WHERE 1=1 " + @@ -32,7 +31,6 @@ " ORDER BY createTime DESC " + " </script>"}) List<LogDto> query(String query, String type, String startTime, String endTime); - @Delete("DELETE FROM log") int clear(); -- Gitblit v1.8.0