123456789101112131415161718192021222324252627282930313233343536373839 |
- <?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.qxgmat.data.dao.CommentMapper">
- <resultMap id="BaseResultMap" type="com.qxgmat.data.dao.entity.Comment">
- <!--
- WARNING - @mbg.generated
- -->
- <id column="id" jdbcType="INTEGER" property="id" />
- <result column="user_id" jdbcType="INTEGER" property="userId" />
- <result column="nickname" jdbcType="VARCHAR" property="nickname" />
- <result column="avatar" jdbcType="VARCHAR" property="avatar" />
- <result column="channel" jdbcType="VARCHAR" property="channel" />
- <result column="position" jdbcType="INTEGER" property="position" />
- <result column="is_show" jdbcType="INTEGER" property="isShow" />
- <result column="is_special" jdbcType="INTEGER" property="isSpecial" />
- <result column="is_system" jdbcType="INTEGER" property="isSystem" />
- <result column="sort" jdbcType="INTEGER" property="sort" />
- <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
- </resultMap>
- <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.qxgmat.data.dao.entity.Comment">
- <!--
- WARNING - @mbg.generated
- -->
- <result column="content" jdbcType="LONGVARCHAR" property="content" />
- </resultMap>
- <sql id="Base_Column_List">
- <!--
- WARNING - @mbg.generated
- -->
- `id`, `user_id`, `nickname`, `avatar`, `channel`, `position`, `is_show`, `is_special`,
- `is_system`, `sort`, `create_time`
- </sql>
- <sql id="Blob_Column_List">
- <!--
- WARNING - @mbg.generated
- -->
- `content`
- </sql>
- </mapper>
|