From d963031435c593b761436d819268f5493923c41d Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 22 九月 2026 18:37:52 +0800
Subject: [PATCH] 1.导出新增图表
---
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