AiSparringDefencecScriptDetailMapper.xml
2.36 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?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="cn.com.glsx.dj.mindworkplate.mapper.AiSparringDefencecScriptDetailMapper" >
<resultMap id="BaseResultMap" type="cn.com.glsx.dj.mindworkplate.model.AiSparringDefencecScriptDetail" >
<!--
WARNING - @mbg.generated
-->
<id column="id" property="id" jdbcType="INTEGER" />
<result column="defence_id" property="defenceId" jdbcType="INTEGER" />
<result column="def_score" property="defScore" jdbcType="VARCHAR" />
<result column="con_start_time" property="conStartTime" jdbcType="VARCHAR" />
<result column="conversation_id" property="conversationId" jdbcType="VARCHAR" />
<result column="created_date" property="createdDate" jdbcType="TIMESTAMP" />
<result column="updated_date" property="updatedDate" jdbcType="TIMESTAMP" />
<result column="deleted_flag" property="deletedFlag" jdbcType="CHAR" />
</resultMap>
<resultMap id="ResultMapWithBLOBs" type="cn.com.glsx.dj.mindworkplate.model.AiSparringDefencecScriptDetail" extends="BaseResultMap" >
<!--
WARNING - @mbg.generated
-->
<result column="question" property="question" jdbcType="LONGVARCHAR" />
<result column="answer" property="answer" jdbcType="LONGVARCHAR" />
<result column="suggestions_for_improvement" property="suggestionsForImprovement" jdbcType="LONGVARCHAR" />
<result column="refine_the_expression" property="refineTheExpression" jdbcType="LONGVARCHAR" />
<result column="highlight" property="highlight" jdbcType="LONGVARCHAR" />
<result column="standard_question" property="standardQuestion" jdbcType="LONGVARCHAR" />
<result column="standard_answer" property="standardAnswer" jdbcType="LONGVARCHAR" />
</resultMap>
<sql id="Base_Column_List" >
<!--
WARNING - @mbg.generated
-->
id, defence_id, def_score, con_start_time, deleted_flag, created_date, updated_date
</sql>
<sql id="Blob_Column_List" >
<!--
WARNING - @mbg.generated
-->
question, answer, suggestions_for_improvement, refine_the_expression, highlight,
standard_question, standard_answer
</sql>
<select id="findDefenceDetailByDefenceId"
resultMap="BaseResultMap">
select * from ai_sparring_defencec_script_detail where defence_id=#{defenceId}
</select>
</mapper>