From 54d00a4b41b8d3baa5a6b8f58001135216a88bb4 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期一, 03 四月 2023 11:22:17 +0800 Subject: [PATCH] 排序 --- ycl-platform/src/main/resources/mapper/apidata/ApiDataMapper.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ycl-platform/src/main/resources/mapper/apidata/ApiDataMapper.xml b/ycl-platform/src/main/resources/mapper/apidata/ApiDataMapper.xml index 77d1e67..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 -- Gitblit v1.8.0