<?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.stompwebsocket.mapper.StompMessageMapper"> <resultMap id="BaseResultMap" type="com.huaheng.pc.stompwebsocket.domain.StompMessage"> <!--@mbg.generated--> <!--@Table corporation--> <id column="id" jdbcType="BIGINT" property="id"/> <result column="topic" jdbcType="VARCHAR" property="topic"/> <result column="user" jdbcType="VARCHAR" property="user"/> <result column="msg" jdbcType="VARCHAR" property="msg"/> <result column="lastUpdated" jdbcType="TIMESTAMP" property="lastUpdated"/> <result column="created" jdbcType="TIMESTAMP" property="created"/> </resultMap> </mapper>