From 3cc6fb5535dc692f66c768dddb4fc4d43d908f67 Mon Sep 17 00:00:00 2001
From: oddfar <oddfar@163.com>
Date: Thu, 04 Jan 2024 21:11:13 +0800
Subject: [PATCH] update: 修改退出处理类的日志记录和返回内容
---
ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
index 75593c2..0c3fb69 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
@@ -37,6 +37,9 @@
<select id="selectOperLogList" parameterType="SysOperLog" resultMap="SysOperLogResult">
<include refid="selectOperLogVo"/>
<where>
+ <if test="operIp != null and operIp != ''">
+ AND oper_ip like concat('%', #{operIp}, '%')
+ </if>
<if test="title != null and title != ''">
AND title like concat('%', #{title}, '%')
</if>
--
Gitblit v1.9.2