From af396db5b1e6dcbb53879af52bd682b4a7e82664 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 21 十月 2024 15:46:44 +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 482ccb9..eb07f5d 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
@@ -45,12 +45,14 @@
<result property="scriptContent" column="script_content"/>
<result property="sort" column="sort"/>
<result property="score" column="score"/>
+ <result property="ivrtext" column="ivrtext"/>
</resultMap>
<sql id="selectIvrTaskTemplateScriptVo">
select id,
taskid,
sort,
+ ivrtext,
script_type,
score,
branch_flag,
@@ -78,6 +80,7 @@
<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>
@@ -165,6 +168,7 @@
<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>
@@ -206,6 +210,7 @@
<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>
@@ -253,6 +258,7 @@
<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