From 1cad14bca191807e18705c3a5526eda8151be439 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 14 四月 2025 23:10:22 +0800
Subject: [PATCH] 批量审核和图片保存bug

---
 ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml b/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
index 1d1099d..6769787 100644
--- a/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
@@ -76,13 +76,13 @@
             <if test="type!=null">
                 and ubc.category=#{type}
             </if>
-            <if test="code!=null">
+            <if test="code!=null and code!=''">
                 and ubc.code=#{code}
             </if>
-            <if test="categoryBig != null">
+            <if test="categoryBig != null and categoryBig!=''">
                 and t3.name like concat('%', #{categoryBig},'%')
             </if>
-            <if test="categorySmall != null">
+            <if test="categorySmall != null and categoryBig!=''">
                 and t4.name like concat('%', #{categorySmall},'%')
             </if>
             <if test="street != null">

--
Gitblit v1.8.0