From f2cc333b963cb0de81aebc5ae3a8c247e99243d8 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 02 六月 2026 18:21:27 +0800
Subject: [PATCH] 【市一】同步手术视图

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

diff --git a/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
index f84aca6..2be2ecf 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
@@ -53,11 +53,15 @@
         <result property="dutyDeptCode" column="duty_dept_code"/>
         <result property="reportDeptCode" column="report_dept_name"/>
         <result property="reportDeptName" column="report_dept_code"/>
+        <result property="dimension" column="dimension"/>
+        <result property="isMydException" column="is_myd_exception"/>
     </resultMap>
 
     <sql id="selectIvrTaskTemplateScriptVo">
         select id,
                taskid,
+               dimension,
+               is_myd_exception,
                duty_dept_name,
                duty_dept_code,
                report_dept_name,
@@ -93,6 +97,8 @@
         where 1=1
         and del_flag = 0
         <if test="taskid != null ">and taskid = #{taskid}</if>
+        <if test="dimension != null  and dimension != ''">and dimension = #{dimension}</if>
+        <if test="isMydException != null  and isMydException != ''">and is_myd_exception = #{isMydException}</if>
         <if test="scriptAssortid != null ">and script_assortid = #{scriptAssortid}</if>
         <if test="score != null ">and score = #{score}</if>
         <if test="scriptTopic != null ">and script_topic = #{scriptTopic}</if>
@@ -205,6 +211,8 @@
             <if test="dutyDeptCode != null  and dutyDeptCode != ''">duty_dept_code,</if>
             <if test="reportDeptName != null  and reportDeptName != ''">report_dept_name,</if>
             <if test="reportDeptCode != null  and reportDeptCode != ''">report_dept_code,</if>
+            <if test="dimension != null  and dimension != ''">dimension,</if>
+            <if test="isMydException != null  and isMydException != ''">is_myd_exception,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="taskid != null">#{taskid},</if>
@@ -253,6 +261,8 @@
             <if test="dutyDeptCode != null  and dutyDeptCode != ''">#{dutyDeptCode},</if>
             <if test="reportDeptName != null  and reportDeptName != ''">#{reportDeptName},</if>
             <if test="reportDeptCode != null  and reportDeptCode != ''">#{reportDeptCode},</if>
+            <if test="dimension != null  and dimension != ''">#{dimension},</if>
+            <if test="isMydException != null  and isMydException != ''">#{isMydException},</if>
         </trim>
     </insert>
 
@@ -303,6 +313,8 @@
             <if test="ivrtext != null">ivrtext = #{ivrtext},</if>
             <if test="scriptTopic != null ">script_topic = #{scriptTopic},</if>
             <if test="scriptAssortid != null ">script_assortid = #{scriptAssortid},</if>
+            <if test="dimension != null  and dimension != ''">dimension = #{dimension},</if>
+            <if test="isMydException != null  and isMydException != ''">is_myd_exception = #{isMydException},</if>
             <if test="dutyDeptName != null  and dutyDeptName != ''">duty_dept_name = #{dutyDeptName},</if>
             <if test="dutyDeptCode != null  and dutyDeptCode != ''">duty_dept_code = #{dutyDeptCode},</if>
             <if test="reportDeptName != null  and reportDeptName != ''">report_dept_name = #{reportDeptName},</if>

--
Gitblit v1.9.3