From 53f9cc8c67ace9018e0481342b7f7d32fe0074c1 Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期二, 06 五月 2025 11:57:24 +0800 Subject: [PATCH] ld分支 --- src/main/resources/mybatis/monitor/SysOperLogMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mybatis/monitor/SysOperLogMapper.xml b/src/main/resources/mybatis/monitor/SysOperLogMapper.xml index 2d379f7..6e6845d 100644 --- a/src/main/resources/mybatis/monitor/SysOperLogMapper.xml +++ b/src/main/resources/mybatis/monitor/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.3