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/IvrLibaTemplateScriptMapper.xml | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml
index 935c7f2..f7d7118 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml
@@ -40,7 +40,7 @@
<result property="scriptTopic" column="script_topic"/>
<result property="nextScriptno" column="next_scriptno"/>
<result property="otherdata" column="otherdata"/>
- <result property="isMust" column="is_must"/>
+ <result property="ismandatory" column="ismandatory"/>
<result property="scriptDesc" column="script_desc"/>
<result property="scriptType" column="script_type"/>
<result property="branchFlag" column="branch_flag"/>
@@ -107,7 +107,7 @@
next_scriptno,
otherdata,
score,
- is_must,
+ ismandatory,
playWavOnly,
del_flag,
update_by,
@@ -181,7 +181,7 @@
<if test="guid != null and guid != ''">and guid = #{guid}</if>
<if test="targetid != null ">and targetid = #{targetid}</if>
<if test="targetvalue != null and targetvalue != ''">and targetvalue = #{targetvalue}</if>
- <if test="isMust != null and isMust != ''">and is_must = #{isMust}</if>
+ <if test="ismandatory != null and ismandatory != ''">and ismandatory = #{ismandatory}</if>
<if test="scriptType != null">and script_type = #{scriptType}</if>
<if test="sort != null">and sort = #{sort}</if>
<if test="score != null">and score = #{score}</if>
@@ -273,7 +273,7 @@
<if test="scriptTopic != null">script_topic,</if>
<if test="nextScriptno != null">next_scriptno,</if>
<if test="otherdata != null">otherdata,</if>
- <if test="isMust != null and isMust != ''">is_must,</if>
+ <if test="ismandatory != null and ismandatory != ''">ismandatory,</if>
<if test="scriptDesc != null ">script_desc,</if>
<if test="scriptType != null ">script_type,</if>
<if test="branchFlag != null and branchFlag != ''">branch_flag,</if>
@@ -329,7 +329,7 @@
<if test="scriptTopic != null">#{scriptTopic},</if>
<if test="nextScriptno != null">#{nextScriptno},</if>
<if test="otherdata != null">#{otherdata},</if>
- <if test="isMust != null and isMust != ''">#{isMust},</if>
+ <if test="ismandatory != null and ismandatory != ''">#{ismandatory},</if>
<if test="scriptDesc != null ">#{scriptDesc},</if>
<if test="scriptType != null ">#{scriptType},</if>
<if test="branchFlag != null and branchFlag != ''">#{branchFlag},</if>
@@ -394,7 +394,7 @@
<if test="scriptTopic != null">script_topic = #{scriptTopic},</if>
<if test="nextScriptno != null">next_scriptno = #{nextScriptno},</if>
<if test="otherdata != null">otherdata = #{otherdata},</if>
- <if test="isMust != null and isMust != ''">is_must = #{isMust},</if>
+ <if test="ismandatory != null and ismandatory != ''">ismandatory = #{ismandatory},</if>
<if test="scriptDesc != null ">script_desc = #{scriptDesc},</if>
<if test="scriptType != null ">script_type = #{scriptType},</if>
<if test="isMydException != null and isMydException != ''">is_myd_exception = #{isMydException},</if>
--
Gitblit v1.9.3