<?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.QuestionMapper">
|
|
<resultMap id="BaseResultMap" type="com.linghu.model.entity.Question">
|
<id property="question_id" column="question_id" jdbcType="INTEGER"/>
|
<result property="keyword_id" column="keyword_id" jdbcType="INTEGER"/>
|
<result property="question" column="question" jdbcType="VARCHAR"/>
|
<result property="status" column="status" jdbcType="VARCHAR"/>
|
<result property="user_name" column="user_name" jdbcType="VARCHAR"/>
|
<result property="user_email" column="user_email" jdbcType="VARCHAR"/>
|
<result property="timestamp" column="timestamp" jdbcType="TIMESTAMP"/>
|
<result property="extracted_count" column="extracted_count" jdbcType="INTEGER"/>
|
<result property="response" column="response" jdbcType="VARCHAR"/>
|
<result property="error" column="error" jdbcType="VARCHAR"/>
|
</resultMap>
|
|
<sql id="Base_Column_List">
|
question_id,keyword_id,question,
|
status,user_name,user_email,
|
timestamp,extracted_count,response,
|
error
|
</sql>
|
</mapper>
|