31 lines
1.6 KiB
XML
31 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE mapper
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<mapper namespace="com.example.demo.mapper.SysOperLogMapper">
|
|
|
|
<resultMap id="BaseResultMap" type="com.example.demo.domain.SysOperLog">
|
|
<result property="operId" column="oper_id" jdbcType="OTHER"/>
|
|
<result property="moduleName" column="module_name" jdbcType="OTHER"/>
|
|
<result property="businessType" column="business_type" jdbcType="INTEGER"/>
|
|
<result property="method" column="method" jdbcType="OTHER"/>
|
|
<result property="requestMethod" column="request_method" jdbcType="OTHER"/>
|
|
<result property="operName" column="oper_name" jdbcType="OTHER"/>
|
|
<result property="operUrl" column="oper_url" jdbcType="OTHER"/>
|
|
<result property="operParam" column="oper_param" jdbcType="OTHER"/>
|
|
<result property="jsonResult" column="json_result" jdbcType="OTHER"/>
|
|
<result property="status" column="status" jdbcType="INTEGER"/>
|
|
<result property="errorMsg" column="error_msg" jdbcType="OTHER"/>
|
|
<result property="operTime" column="oper_time" jdbcType="TIMESTAMP"/>
|
|
<result property="costTime" column="cost_time" jdbcType="INTEGER"/>
|
|
</resultMap>
|
|
|
|
<sql id="Base_Column_List">
|
|
oper_id,module_name,business_type,
|
|
method,request_method,oper_name,
|
|
oper_url,oper_param,json_result,
|
|
status,error_msg,oper_time,
|
|
cost_time
|
|
</sql>
|
|
</mapper>
|