mirror of https://gitee.com/y_project/RuoYi.git
操作日志列表新增IP地址查询
parent
64e6ae4fe4
commit
8dd40158ec
|
@ -11,6 +11,9 @@
|
|||
<form id="operlog-form">
|
||||
<div class="select-list">
|
||||
<ul>
|
||||
<li>
|
||||
<label>操作地址:</label><input type="text" name="operIp"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>系统模块: </label><input type="text" name="title"/>
|
||||
</li>
|
||||
|
@ -116,7 +119,7 @@
|
|||
},
|
||||
{
|
||||
field: 'operIp',
|
||||
title: '主机'
|
||||
title: '操作地址'
|
||||
},
|
||||
{
|
||||
field: 'operLocation',
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue