<?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.linghu.mapper.ResultMapper">
|
|
<resultMap id="BaseResultMap" type="com.linghu.model.entity.Result">
|
<id property="resultId" column="result_id" jdbcType="INTEGER"/>
|
<result property="typeId" column="type_id" jdbcType="INTEGER"/>
|
<result property="platformId" column="platform_id" jdbcType="INTEGER"/>
|
<result property="title" column="title" jdbcType="VARCHAR"/>
|
<result property="repetitionNum" column="repetition_num" jdbcType="INTEGER"/>
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
<result property="num" column="num" jdbcType="INTEGER"/>
|
<result property="url" column="url" jdbcType="VARCHAR"/>
|
</resultMap>
|
|
<sql id="Base_Column_List">
|
result_id,type_id,platform_id,
|
title,repetition_num,create_time,
|
num,url
|
</sql>
|
</mapper>
|