From 55f7863d800839c868589b63986f6c61ef8e9815 Mon Sep 17 00:00:00 2001
From: baizonghao <1719256278@qq.com>
Date: 星期一, 03 四月 2023 10:08:02 +0800
Subject: [PATCH] 本周,本日统计

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

diff --git a/ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml b/ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml
index 05bc44e..8720205 100644
--- a/ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml
@@ -34,6 +34,9 @@
             <if test="type == '03' and type != null and type !='' ">
                 t1.type='03'
             </if>
+            <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">
                 and t1.create_time between #{startTime} and #{endTime}
             </if>

--
Gitblit v1.8.0