From 398dcb82092af4fa27347427946a492bbf30681a Mon Sep 17 00:00:00 2001 From: xyli Date: Wed, 1 Feb 2023 13:03:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E7=B3=BB=E7=BB=9F=E6=97=A5?= =?UTF-8?q?=E5=BF=97xml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/MinisyslogDao.xml | 178 ++++++++++++++++++++ 1 file changed, 178 insertions(+) create mode 100644 src/main/resources/mapper/MinisyslogDao.xml diff --git a/src/main/resources/mapper/MinisyslogDao.xml b/src/main/resources/mapper/MinisyslogDao.xml new file mode 100644 index 0000000..1555205 --- /dev/null +++ b/src/main/resources/mapper/MinisyslogDao.xml @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + insert into PUBLIC.mini_sys_log(type, ip, time, content, level, extra) + values (#{type}, #{ip}, #{time}, #{content}, #{level}, #{extra}) + + + + + update PUBLIC.mini_sys_log + + + type = #{type}, + + + ip = #{ip}, + + + time = #{time}, + + + content = #{content}, + + + level = #{level}, + + + extra = #{extra}, + + + where id = #{id} + + + + + delete from PUBLIC.mini_sys_log where id = #{id} + + + + + delete + from PUBLIC.mini_sys_log + where #{time} > time + + + + + delete from PUBLIC.mini_sys_log + + + + + delete from PUBLIC.mini_sys_log where id between #{id} and #{maxid} + + + + delete from PUBLIC.mini_sys_log where id in({#id}) + + -- Gitee