From 5461b8ebf2f8bf66a9d34351eb8783484304958a Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期一, 22 八月 2022 16:17:28 +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