<?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.message.mapper.MessagesMapper"> <resultMap id="BaseResultMap" type="com.huaheng.pc.monitor.message.domain.Messages"> <!--@mbg.generated--> <!--@Table messages--> <id column="id" jdbcType="BIGINT" property="id" /> <result column="msgType" jdbcType="VARCHAR" property="msgType" /> <result column="msgSubType" jdbcType="VARCHAR" property="msgSubType" /> <result column="msgFrom" jdbcType="VARCHAR" property="msgFrom" /> <result column="msgTo" jdbcType="VARCHAR" property="msgTo" /> <result column="msgSubject" jdbcType="VARCHAR" property="msgSubject" /> <result column="msgBody" jdbcType="LONGVARCHAR" property="msgBody" /> <result column="enable" jdbcType="INTEGER" property="enable" /> <result column="tryCount" jdbcType="INTEGER" property="tryCount" /> <result column="created" jdbcType="TIMESTAMP" property="created" /> <result column="createdBy" jdbcType="VARCHAR" property="createdBy" /> <result column="sess" jdbcType="VARCHAR" property="sess" /> <result column="params" jdbcType="VARCHAR" property="params" /> <result column="errorCode" jdbcType="VARCHAR" property="errorCode" /> <result column="queue" jdbcType="VARCHAR" property="queue" /> <result column="routingKey" jdbcType="VARCHAR" property="routingKey" /> </resultMap> <sql id="Base_Column_List"> <!--@mbg.generated--> id, msgType, msgSubType, msgFrom, msgTo, msgSubject, msgBody, `enable`, tryCount, created, createdBy, sess, params, errorCode, queue, routingKey </sql> </mapper>