From 3153009257c97b0f0099f787e951dd15472d077e Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 24 六月 2024 14:12:42 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml
index f62b28e..7167789 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml
@@ -45,10 +45,12 @@
         <result property="questionResult"    column="question_result"    />
         <result property="otherdata"    column="otherdata"    />
         <result property="picturePath"    column="picture_path"    />
+        <result property="sort"    column="sort"    />
+        <result property="topic"    column="topic"    />
     </resultMap>
 
     <sql id="selectSvyTaskTemplateScriptVo">
-        select ID, taskid, templateQuestionNum, templateID, scriptID, questiontitle, language, categoryName, questionPoint, questionText, questionVoice, noMatchText, noMatchVoice, slienceText, slienceVoice, submoduleText, submoduleVoice, noClearlyText, noClearlyVoice, is_must, playWavOnly, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, value_type, targetOptions, targettype, targetid, targetvalue, next_question, question_result, otherdata, picture_path from svy_task_template_script
+        select ID,sort,topic, taskid, templateQuestionNum, templateID, scriptID, questiontitle, language, categoryName, questionPoint, questionText, questionVoice, noMatchText, noMatchVoice, slienceText, slienceVoice, submoduleText, submoduleVoice, noClearlyText, noClearlyVoice, is_must, playWavOnly, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, value_type, targetOptions, targettype, targetid, targetvalue, next_question, question_result, otherdata, picture_path from svy_task_template_script
     </sql>
 
     <select id="selectSvyTaskTemplateScriptList" parameterType="com.smartor.domain.SvyTaskTemplateScript" resultMap="SvyTaskTemplateScriptResult">
@@ -88,6 +90,7 @@
             <if test="questionResult != null  and questionResult != ''"> and question_result = #{questionResult}</if>
             <if test="otherdata != null  and otherdata != ''"> and otherdata = #{otherdata}</if>
             <if test="picturePath != null  and picturePath != ''"> and picture_path = #{picturePath}</if>
+            <if test="topic != null  and topic != ''"> and topic = #{topic}</if>
         </where>
     </select>
 
@@ -138,6 +141,8 @@
             <if test="questionResult != null">question_result,</if>
             <if test="otherdata != null">otherdata,</if>
             <if test="picturePath != null">picture_path,</if>
+            <if test="sort != null">sort,</if>
+            <if test="topic != null">topic,</if>
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="taskid != null">#{taskid},</if>
@@ -179,6 +184,8 @@
             <if test="questionResult != null">#{questionResult},</if>
             <if test="otherdata != null">#{otherdata},</if>
             <if test="picturePath != null">#{picturePath},</if>
+            <if test="sort != null">#{sort},</if>
+            <if test="topic != null">#{topic},</if>
          </trim>
     </insert>
 
@@ -224,6 +231,8 @@
             <if test="questionResult != null">question_result = #{questionResult},</if>
             <if test="otherdata != null">otherdata = #{otherdata},</if>
             <if test="picturePath != null">picture_path = #{picturePath},</if>
+            <if test="sort != null">sort = #{sort},</if>
+            <if test="topic != null">topic = #{topic},</if>
         </trim>
         where ID = #{ID}
     </update>

--
Gitblit v1.9.3