From cd373a1f9b2de04804b7869eb33abedcf3566363 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 23 九月 2026 10:18:07 +0800
Subject: [PATCH] 【丽水】随访任务页查询,待发送/已发送数量改为异步查询
---
smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml
index 935c7f2..299bca0 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>
@@ -210,12 +210,12 @@
resultMap="IvrLibaTemplateScriptResult">
<include refid="selectIvrLibaTemplateScriptVo"/>
<where>del_flag=0
- <if test="dimensionList != null ">and dimension in
+ <if test="dimensionList != null and dimensionList.size() > 0">and dimension in
<foreach item="dimension" collection="dimensionList" open="(" separator="," close=")">
#{dimension}
</foreach>
</if>
- <if test="dimensionList == null ">and dimension IS NOT NULL </if>
+ <if test="dimensionList == null or dimensionList.size() == 0">and dimension IS NOT NULL </if>
<if test="dutyDeptPersonName != null and dutyDeptPersonName != ''">and duty_dept_person_name like concat('%', #{dutyDeptPersonName},
'%')
</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