From e180e3a496d6f29d3a3b34016400de9d997c6bd9 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 07 四月 2026 14:42:23 +0800
Subject: [PATCH] 省立同德满意度功能提交

---
 smartor/src/main/resources/mapper/smartor/IvrTaskTemplateTargetoptionMapper.xml |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateTargetoptionMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateTargetoptionMapper.xml
index 2dca21e..e486e3e 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateTargetoptionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateTargetoptionMapper.xml
@@ -44,11 +44,13 @@
         <result property="isEnd" column="is_end"/>
         <result property="sendTaskid" column="send_taskid"/>
         <result property="sendTaskname" column="send_taskname"/>
+        <result property="isException" column="is_exception"/>
     </resultMap>
 
     <sql id="selectIvrTaskTemplateTargetoptionVo">
         select id,
                taskid,
+               is_exception,
                send_taskid,
                send_taskname,
                is_end,
@@ -71,8 +73,9 @@
     <select id="selectIvrTaskTemplateTargetoptionList" parameterType="com.smartor.domain.IvrTaskTemplateTargetoption"
             resultMap="IvrTaskTemplateTargetoptionResult">
         <include refid="selectIvrTaskTemplateTargetoptionVo"/>
-        <where>
+        where 1=1
             <if test="taskid != null ">and taskid = #{taskid}</if>
+            <if test="isException != null ">and is_exception = #{isException}</if>
             <if test="isEnd != null ">and is_end = #{isEnd}</if>
             <if test="templateID != null ">and templateID = #{templateID}</if>
             <if test="targetid != null ">and targetid = #{targetid}</if>
@@ -108,7 +111,6 @@
             <if test="score != null ">and score = #{score}</if>
             <if test="sendTaskid != null">and send_taskid= #{sendTaskid}</if>
             <if test="sendTaskname != null">and send_taskname = #{sendTaskname}</if>
-        </where>
     </select>
 
     <select id="selectIvrTaskTemplateTargetoptionById" parameterType="Long"
@@ -158,6 +160,7 @@
             <if test="isEnd != null ">is_end,</if>
             <if test="sendTaskid != null">send_taskid,</if>
             <if test="sendTaskname != null">send_taskname,</if>
+            <if test="isException != null ">is_exception,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="taskid != null">#{taskid},</if>
@@ -197,6 +200,7 @@
             <if test="isEnd != null ">#{isEnd},</if>
             <if test="sendTaskid != null">#{sendTaskid},</if>
             <if test="sendTaskname != null">#{sendTaskname},</if>
+            <if test="isException != null ">#{isException},</if>
         </trim>
     </insert>
 
@@ -240,6 +244,7 @@
             <if test="isEnd != null ">is_end = #{isEnd},</if>
             <if test="sendTaskid != null">send_taskid= #{sendTaskid},</if>
             <if test="sendTaskname != null">send_taskname = #{sendTaskname},</if>
+            <if test="isException != null ">is_exception = #{isException},</if>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.9.3