From 2d208602fcbf9442f922bf0d25d59b81851ee687 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期四, 26 九月 2024 21:53:34 +0800
Subject: [PATCH] 1

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

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

--
Gitblit v1.8.0