|
|
|
@ -2,9 +2,9 @@
|
|
|
|
|
<!DOCTYPE mapper
|
|
|
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
|
<mapper namespace="com.glxp.api.admin.dao.monitor.SysOperLogMapper">
|
|
|
|
|
<mapper namespace="com.glxp.api.dao.monitor.SysOperLogMapper">
|
|
|
|
|
|
|
|
|
|
<resultMap type="com.glxp.api.admin.entity.monitor.SysOperLog" id="SysOperLogResult">
|
|
|
|
|
<resultMap type="com.glxp.api.entity.monitor.SysOperLog" id="SysOperLogResult">
|
|
|
|
|
<id property="operId" column="oper_id"/>
|
|
|
|
|
<result property="title" column="title"/>
|
|
|
|
|
<result property="businessType" column="business_type"/>
|
|
|
|
@ -25,7 +25,7 @@
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectList" parameterType="com.glxp.api.admin.req.monitor.SysOperLogRequest"
|
|
|
|
|
<select id="selectList" parameterType="com.glxp.api.req.monitor.SysOperLogRequest"
|
|
|
|
|
resultMap="SysOperLogResult">
|
|
|
|
|
|
|
|
|
|
select sys_oper_log.*,auth_user.employeeName operUserName
|
|
|
|
@ -79,7 +79,7 @@
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<insert id="insert" keyProperty="operIp" useGeneratedKeys="true"
|
|
|
|
|
parameterType="com.glxp.api.admin.entity.monitor.SysOperLog">
|
|
|
|
|
parameterType="com.glxp.api.entity.monitor.SysOperLog">
|
|
|
|
|
INSERT INTO sys_oper_log(`oper_id`, `title`, business_type, `method`, `request_method`, operator_type
|
|
|
|
|
, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, json_result, status,
|
|
|
|
|
error_msg, oper_time)
|
|
|
|
|