<?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.xunmei.system.mapper.OperLogMapper">

        <!-- 通用查询映射结果 -->
        <resultMap id="BaseResultMap" type="com.xunmei.system.domain.OperLog">
                    <id column="oper_id" property="operId"/>
                    <result column="title" property="title"/>
                    <result column="business_type" property="businessType"/>
                    <result column="method" property="method"/>
                    <result column="request_method" property="requestMethod"/>
                    <result column="operator_type" property="operatorType"/>
                    <result column="oper_name" property="operName"/>
                    <result column="dept_name" property="deptName"/>
                    <result column="oper_url" property="operUrl"/>
                    <result column="oper_ip" property="operIp"/>
                    <result column="oper_location" property="operLocation"/>
                    <result column="oper_param" property="operParam"/>
                    <result column="json_result" property="jsonResult"/>
                    <result column="status" property="status"/>
                    <result column="error_msg" property="errorMsg"/>
                    <result column="oper_time" property="operTime"/>
                    <result column="cost_time" property="costTime"/>
        </resultMap>

        <!-- 通用查询结果列 -->
        <sql id="Base_Column_List">
            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, cost_time
        </sql>

</mapper>