From 9526971c403417c1c007804f24884c443b9e6cd7 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 04 九月 2024 00:34:40 +0800
Subject: [PATCH] 代码提交

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

diff --git a/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
index 5da543e..482ccb9 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
@@ -44,6 +44,7 @@
         <result property="scriptType" column="script_type"/>
         <result property="scriptContent" column="script_content"/>
         <result property="sort" column="sort"/>
+        <result property="score" column="score"/>
     </resultMap>
 
     <sql id="selectIvrTaskTemplateScriptVo">
@@ -51,6 +52,7 @@
                taskid,
                sort,
                script_type,
+               score,
                branch_flag,
                branch_nextscriptno,
                next_scriptno,
@@ -75,6 +77,7 @@
         <include refid="selectIvrTaskTemplateScriptVo"/>
         <where>
             <if test="taskid != null ">and taskid = #{taskid}</if>
+            <if test="score != null ">and score = #{score}</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>
@@ -161,6 +164,7 @@
             <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>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="taskid != null">#{taskid},</if>
@@ -201,6 +205,7 @@
             <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>
         </trim>
     </insert>
 
@@ -247,6 +252,7 @@
             <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>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.9.3