From 141eef1ac1e9111fb33f96a95b59ba69422f8688 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 14 九月 2026 17:02:17 +0800
Subject: [PATCH] 1.优化问卷详情的查询速度

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

diff --git a/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
index 1daca12..bd05dd2 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrTaskTemplateScriptMapper.xml
@@ -36,7 +36,7 @@
         <result property="targetid" column="targetid"/>
         <result property="targetvalue" column="targetvalue"/>
         <result property="otherdata" column="otherdata"/>
-        <result property="isMust" column="is_must"/>
+        <result property="ismandatory" column="ismandatory"/>
         <result property="questionResult" column="question_result"/>
         <result property="branchFlag" column="branch_flag"/>
         <result property="branchNextscriptno" column="branch_nextscriptno"/>
@@ -99,7 +99,7 @@
                noClearlyText,
                noClearlyVoice,
                script_assortname,
-               targetOptions, language, playWavOnly, value_type, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, targettype, targetid, targetvalue, otherdata, is_must, question_result
+               targetOptions, language, playWavOnly, value_type, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, targettype, targetid, targetvalue, otherdata, ismandatory, question_result
         from ivr_task_template_script
     </sql>
 
@@ -157,7 +157,7 @@
         <if test="targetid != null ">and targetid = #{targetid}</if>
         <if test="targetvalue != null  and targetvalue != ''">and targetvalue = #{targetvalue}</if>
         <if test="otherdata != null  and otherdata != ''">and otherdata = #{otherdata}</if>
-        <if test="isMust != null  and isMust != ''">and is_must = #{isMust}</if>
+        <if test="ismandatory != null  and ismandatory != ''">and ismandatory = #{ismandatory}</if>
         <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>
@@ -231,7 +231,7 @@
             <if test="targetid != null">targetid,</if>
             <if test="targetvalue != null">targetvalue,</if>
             <if test="otherdata != null">otherdata,</if>
-            <if test="isMust != null">is_must,</if>
+            <if test="ismandatory != null">ismandatory,</if>
             <if test="questionResult != null">question_result,</if>
             <if test="branchFlag != null  and branchFlag != ''">branch_flag,</if>
             <if test="branchNextscriptno != null  and branchNextscriptno != ''">branch_nextscriptno,</if>
@@ -287,7 +287,7 @@
             <if test="targetid != null">#{targetid},</if>
             <if test="targetvalue != null">#{targetvalue},</if>
             <if test="otherdata != null">#{otherdata},</if>
-            <if test="isMust != null">#{isMust},</if>
+            <if test="ismandatory != null">#{ismandatory},</if>
             <if test="questionResult != null">#{questionResult},</if>
             <if test="branchFlag != null  and branchFlag != ''">#{branchFlag},</if>
             <if test="branchNextscriptno != null  and branchNextscriptno != ''">#{branchNextscriptno},</if>
@@ -347,7 +347,7 @@
             <if test="targetid != null">targetid = #{targetid},</if>
             <if test="targetvalue != null">targetvalue = #{targetvalue},</if>
             <if test="otherdata != null">otherdata = #{otherdata},</if>
-            <if test="isMust != null">is_must = #{isMust},</if>
+            <if test="ismandatory != null">ismandatory = #{ismandatory},</if>
             <if test="questionResult != null">question_result = #{questionResult},</if>
             <if test="branchFlag != null  and branchFlag != ''">branch_flag = #{branchFlag},</if>
             <if test="branchNextscriptno != null  and branchNextscriptno != ''">branch_nextscriptno =

--
Gitblit v1.9.3