From f4e77cdf431974fff8165e67378f1ca0fecdf4f1 Mon Sep 17 00:00:00 2001
From: 17808 <1780814303@qq.com>
Date: 星期四, 14 九月 2023 10:20:24 +0800
Subject: [PATCH] 视频上传(2)
---
ycl-platform/src/main/resources/mapper/apidata/ApiDataMapper.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ycl-platform/src/main/resources/mapper/apidata/ApiDataMapper.xml b/ycl-platform/src/main/resources/mapper/apidata/ApiDataMapper.xml
index 150c596..90382d9 100644
--- a/ycl-platform/src/main/resources/mapper/apidata/ApiDataMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/apidata/ApiDataMapper.xml
@@ -32,6 +32,7 @@
and b.street_id = #{streetId}
</if>
GROUP BY v.grade_id
+ order by COUNT(v.id) desc
</select>
<select id="listLot" resultType="com.ycl.vo.cockpit.statisticsEvents.StatisticsEventsVO$LotVO">
SELECT vp.`name` ,COUNT(v.id) count
@@ -47,6 +48,6 @@
and b.street_id = #{streetId}
</if>
GROUP BY v.video_point_id
- ORDER BY count ASC
+ ORDER BY count DESC
</select>
</mapper>
--
Gitblit v1.8.0