guyue
2 天以前 00c46e6daca9f068a86ef0d3571a2a206628c328
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?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>