|
|
@ -9,6 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<result property="title" column="title" />
|
|
|
|
<result property="title" column="title" />
|
|
|
|
<result property="businessType" column="business_type" />
|
|
|
|
<result property="businessType" column="business_type" />
|
|
|
|
<result property="method" column="method" />
|
|
|
|
<result property="method" column="method" />
|
|
|
|
|
|
|
|
<result property="requestMethod" column="request_method" />
|
|
|
|
<result property="operatorType" column="operator_type" />
|
|
|
|
<result property="operatorType" column="operator_type" />
|
|
|
|
<result property="operName" column="oper_name" />
|
|
|
|
<result property="operName" column="oper_name" />
|
|
|
|
<result property="deptName" column="dept_name" />
|
|
|
|
<result property="deptName" column="dept_name" />
|
|
|
@ -22,13 +23,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectOperLogVo">
|
|
|
|
<sql id="selectOperLogVo">
|
|
|
|
select oper_id, title, business_type, method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, status, error_msg, oper_time
|
|
|
|
select oper_id, title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, status, error_msg, oper_time
|
|
|
|
from sys_oper_log
|
|
|
|
from sys_oper_log
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="insertOperlog" parameterType="SysOperLog">
|
|
|
|
<insert id="insertOperlog" parameterType="SysOperLog">
|
|
|
|
insert into sys_oper_log(title, business_type, method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, status, error_msg, oper_time)
|
|
|
|
insert into sys_oper_log(title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, status, error_msg, oper_time)
|
|
|
|
values (#{title}, #{businessType}, #{method}, #{operatorType}, #{operName}, #{deptName}, #{operUrl}, #{operIp}, #{operLocation}, #{operParam}, #{status}, #{errorMsg}, sysdate())
|
|
|
|
values (#{title}, #{businessType}, #{method}, #{requestMethod}, #{operatorType}, #{operName}, #{deptName}, #{operUrl}, #{operIp}, #{operLocation}, #{operParam}, #{status}, #{errorMsg}, sysdate())
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectOperLogList" parameterType="SysOperLog" resultMap="SysOperLogResult">
|
|
|
|
<select id="selectOperLogList" parameterType="SysOperLog" resultMap="SysOperLogResult">
|
|
|
|