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

This commit is contained in:
RuoYi
2023-09-27 15:27:29 +08:00
parent af03fefc83
commit e067c04464
2 changed files with 15 additions and 2 deletions

View File

@@ -36,6 +36,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>