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

This commit is contained in:
RuoYi
2023-09-26 09:19:30 +08:00
parent 64e6ae4fe4
commit 8dd40158ec
2 changed files with 7 additions and 1 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>