From bee1fe3c6f0bf1fe56672f71a001741bc8e9517d Mon Sep 17 00:00:00 2001
From: baizonghao <1719256278@qq.com>
Date: 星期五, 24 二月 2023 21:34:40 +0800
Subject: [PATCH] 统计报警时间,查询空指针

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

diff --git a/ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml b/ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml
index 29414d0..8720205 100644
--- a/ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.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