From bf31a4ce29f0d241c6bf06795ec44477a03dfe42 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期一, 12 十月 2026 10:40:56 +0800
Subject: [PATCH] 【丽水】登录科室病区只取子节点
---
smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml
index 416c42d..16e2770 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateScriptMapper.xml
@@ -210,7 +210,7 @@
resultMap="SvyLibTemplateScriptResult">
<include refid="selectSvyLibTemplateScriptVo"/>
<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>
@@ -239,7 +239,7 @@
#{circulationDeptPersonName},
'%')
</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>
</where>
</select>
--
Gitblit v1.9.3