From 74fbf1d9ae44bf3354f46caa0e43a2358fa1fbea Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 23 九月 2026 17:11:58 +0800
Subject: [PATCH] 【丽水】更新AI电话

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

diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml
index f7d7118..299bca0 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateScriptMapper.xml
@@ -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>

--
Gitblit v1.9.3