mirror of https://gitee.com/y_project/RuoYi.git
操作日志列表新增IP地址查询
parent
64e6ae4fe4
commit
8dd40158ec
|
@ -11,6 +11,9 @@
|
||||||
<form id="operlog-form">
|
<form id="operlog-form">
|
||||||
<div class="select-list">
|
<div class="select-list">
|
||||||
<ul>
|
<ul>
|
||||||
|
<li>
|
||||||
|
<label>操作地址:</label><input type="text" name="operIp"/>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label>系统模块: </label><input type="text" name="title"/>
|
<label>系统模块: </label><input type="text" name="title"/>
|
||||||
</li>
|
</li>
|
||||||
|
@ -116,7 +119,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'operIp',
|
field: 'operIp',
|
||||||
title: '主机'
|
title: '操作地址'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'operLocation',
|
field: 'operLocation',
|
||||||
|
|
|
@ -37,6 +37,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<select id="selectOperLogList" parameterType="SysOperLog" resultMap="SysOperLogResult">
|
<select id="selectOperLogList" parameterType="SysOperLog" resultMap="SysOperLogResult">
|
||||||
<include refid="selectOperLogVo"/>
|
<include refid="selectOperLogVo"/>
|
||||||
<where>
|
<where>
|
||||||
|
<if test="operIp != null and operIp != ''">
|
||||||
|
AND oper_ip like concat('%', #{operIp}, '%')
|
||||||
|
</if>
|
||||||
<if test="title != null and title != ''">
|
<if test="title != null and title != ''">
|
||||||
AND title like concat('%', #{title}, '%')
|
AND title like concat('%', #{title}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
Loading…
Reference in New Issue