From b8d8733ad9eeeb170a71897d1078acdbea7680f2 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 04 三月 2025 15:23:38 +0800
Subject: [PATCH] 优化

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

diff --git a/ycl-platform/src/main/resources/mapper/equipment/VideoMapper.xml b/ycl-platform/src/main/resources/mapper/equipment/VideoMapper.xml
index 6c8e36c..962d2a3 100644
--- a/ycl-platform/src/main/resources/mapper/equipment/VideoMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/equipment/VideoMapper.xml
@@ -39,6 +39,9 @@
             <if test="communityId!=null">
                 and vp.community_id = #{communityId}
             </if>
+            <if test="type!=null">
+                and vp.type = #{type}
+            </if>
         </where>
         ORDER BY vp.code DESC
     </select>

--
Gitblit v1.8.0