操作日志列表新增IP地址查询

This commit is contained in:
RuoYi
2023-09-27 15:21:59 +08:00
parent 9ced1e9766
commit 207a9ce855
2 changed files with 13 additions and 0 deletions

View File

@ -37,6 +37,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<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>