From dd0cc9d6d7c341266dd2c3f07479e1f8c4230b65 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期三, 30 十一月 2022 17:42:18 +0800
Subject: [PATCH] fix: 图片管理视频管理 查询bug

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

diff --git a/ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml b/ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml
index e4f5ee4..a585c28 100644
--- a/ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml
@@ -34,7 +34,7 @@
             <if test="type == '03' and type != null and type !='' ">
                 t1.type='03'
             </if>
-            <if test="type == null and type =='' ">
+            <if test="type == '01' and type != null and type !='' ">
                 t1.type='02' or t1.type='01'
             </if>
             <if test="startTime != '' and endTime != '' and startTime != null and endTime != null">

--
Gitblit v1.8.0