From fd6dca0c559c08129b7e0abdf67093b1a728ffd3 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 29 十一月 2024 17:21:00 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
index c5afd34..912252f 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
@@ -40,17 +40,28 @@
         <result property="questionResult" column="question_result"/>
         <result property="branchFlag" column="branch_flag"/>
         <result property="branchNextscriptno" column="branch_nextscriptno"/>
+        <result property="nextScriptno" column="next_scriptno"/>
         <result property="scriptType" column="script_type"/>
+        <result property="scriptContent" column="script_content"/>
+        <result property="sort" column="sort"/>
+        <result property="score" column="score"/>
+        <result property="ivrtext" column="ivrtext"/>
+        <result property="groupName" column="  group_name"/>
     </resultMap>
 
     <sql id="selectIvrTaskTemplateScriptVo">
         select id,
                taskid,
+               sort,
+               ivrtext,
                script_type,
+               score,
                branch_flag,
                branch_nextscriptno,
+               next_scriptno,
                templateID,
                questionPoint,
+               script_content,
                noMatchText,
                noMatchVoice,
                slienceText,
@@ -69,6 +80,9 @@
         <include refid="selectIvrTaskTemplateScriptVo"/>
         <where>
             <if test="taskid != null ">and taskid = #{taskid}</if>
+            <if test="score != null ">and score = #{score}</if>
+            <if test="ivrtext != null ">and ivrtext = #{ivrtext}</if>
+            <if test="sort != null ">and sort = #{sort}</if>
             <if test="templateID != null ">and templateID = #{templateID}</if>
             <if test="questionPoint != null  and questionPoint != ''">and questionPoint = #{questionPoint}</if>
             <if test="noMatchText != null  and noMatchText != ''">and noMatchText = #{noMatchText}</if>
@@ -99,6 +113,8 @@
             <if test="questionResult != null  and questionResult != ''">and question_result = #{questionResult}</if>
             <if test="branchFlag != null  and branchFlag != ''">and branch_flag = #{branchFlag}</if>
             <if test="scriptType != null  and scriptType != ''">and script_type = #{scriptType}</if>
+            <if test="scriptContent != null  and scriptContent != ''">and script_content = #{scriptContent}</if>
+            <if test="nextScriptno != null  and nextScriptno != ''">and next_scriptno = #{nextScriptno}</if>
             <if test="branchNextscriptno != null  and branchNextscriptno != ''">and branch_nextscriptno =
                 #{branchNextscriptno}
             </if>
@@ -149,6 +165,11 @@
             <if test="branchFlag != null  and branchFlag != ''">branch_flag,</if>
             <if test="branchNextscriptno != null  and branchNextscriptno != ''">branch_nextscriptno,</if>
             <if test="scriptType != null  and scriptType != ''">script_type,</if>
+            <if test="scriptContent != null  and scriptContent != ''">script_content,</if>
+            <if test="sort != null ">sort,</if>
+            <if test="nextScriptno != null  and nextScriptno != ''">next_scriptno,</if>
+            <if test="score != null ">score,</if>
+            <if test="ivrtext != null ">ivrtext,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="taskid != null">#{taskid},</if>
@@ -186,6 +207,11 @@
             <if test="branchFlag != null  and branchFlag != ''">#{branchFlag},</if>
             <if test="branchNextscriptno != null  and branchNextscriptno != ''">#{branchNextscriptno},</if>
             <if test="scriptType != null  and scriptType != ''">#{scriptType},</if>
+            <if test="scriptContent != null  and scriptContent != ''">#{scriptContent},</if>
+            <if test="sort != null">#{sort},</if>
+            <if test="nextScriptno != null  and nextScriptno != ''">#{nextScriptno},</if>
+            <if test="score != null ">#{score},</if>
+            <if test="ivrtext != null ">#{ivrtext},</if>
         </trim>
     </insert>
 
@@ -229,6 +255,11 @@
                 #{branchNextscriptno},
             </if>
             <if test="scriptType != null  and scriptType != ''">script_type = #{scriptType},</if>
+            <if test="scriptContent != null  and scriptContent != ''">script_content = #{scriptContent},</if>
+            <if test="sort != null">sort = #{sort},</if>
+            <if test="nextScriptno != null  and nextScriptno != ''">next_scriptno = #{nextScriptno},</if>
+            <if test="score != null">score = #{score},</if>
+            <if test="ivrtext != null">ivrtext = #{ivrtext},</if>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.9.3