From 533a54a2dff49b4b2fc314b80823b6d98873fb57 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期五, 25 十一月 2022 12:31:35 +0800
Subject: [PATCH] bug改动 图片视频案卷查询优化

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

diff --git a/ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml b/ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml
index bbd6238..a68d10e 100644
--- a/ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml
@@ -31,8 +31,8 @@
         LEFT JOIN ums_base_case t2 ON t1.belong_to_id = t2.id
         LEFT JOIN ums_sccg_region t3 on t3.id=t2.community_id
         <where>
-            <if test="type != '' and type != null">
-                t1.type=#{type}
+            <if test="type == '03' and type != null and type !='' ">
+                t1.type='03'
             </if>
             <if test="startTime != '' and endTime != '' and startTime != null and endTime != null">
                 and t1.create_time between #{startTime} and #{endTime}

--
Gitblit v1.8.0