LoggingEventMapper.xml 1.82 KB
<?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.huaheng.pc.monitor.errorlog.mapper.LoggingEventMapper">
  <resultMap id="BaseResultMap" type="com.huaheng.pc.monitor.errorlog.domain.LoggingEvent">
    <!--@mbg.generated-->
    <!--@Table logging_event-->
    <id column="event_id" jdbcType="BIGINT" property="eventId" />
    <result column="timestmp" jdbcType="BIGINT" property="timestmp" />
    <result column="formatted_message" jdbcType="LONGVARCHAR" property="formattedMessage" />
    <result column="logger_name" jdbcType="VARCHAR" property="loggerName" />
    <result column="level_string" jdbcType="VARCHAR" property="levelString" />
    <result column="thread_name" jdbcType="VARCHAR" property="threadName" />
    <result column="reference_flag" jdbcType="SMALLINT" property="referenceFlag" />
    <result column="arg0" jdbcType="VARCHAR" property="arg0" />
    <result column="arg1" jdbcType="VARCHAR" property="arg1" />
    <result column="arg2" jdbcType="VARCHAR" property="arg2" />
    <result column="arg3" jdbcType="VARCHAR" property="arg3" />
    <result column="caller_filename" jdbcType="VARCHAR" property="callerFilename" />
    <result column="caller_class" jdbcType="VARCHAR" property="callerClass" />
    <result column="caller_method" jdbcType="VARCHAR" property="callerMethod" />
    <result column="caller_line" jdbcType="CHAR" property="callerLine" />
    <result column="creatTime" jdbcType="TIMESTAMP" property="creattime" />
  </resultMap>
  <sql id="Base_Column_List">
    <!--@mbg.generated-->
    event_id, timestmp, formatted_message, logger_name, level_string, thread_name, reference_flag, 
    arg0, arg1, arg2, arg3, caller_filename, caller_class, caller_method, caller_line, 
    creatTime
  </sql>
</mapper>