From f90b37cb8990d8e9dd05774a004c64fadfc3c362 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期二, 10 一月 2023 11:48:18 +0800
Subject: [PATCH] fix: 消息接受栏目设置和用户消息查询

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

diff --git a/ycl-platform/src/main/resources/mapper/trend/TrendAnalysisMapper.xml b/ycl-platform/src/main/resources/mapper/trend/TrendAnalysisMapper.xml
index 2ff2fdf..db8e345 100644
--- a/ycl-platform/src/main/resources/mapper/trend/TrendAnalysisMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/trend/TrendAnalysisMapper.xml
@@ -6,7 +6,9 @@
         SELECT
         t2.id,
         t2.NAME,
-        count( 0 ) AS count
+        count( 0 ) AS count,
+        t2.longitude,
+        t2.latitude
         FROM
         ums_violations t1
         LEFT JOIN ums_video_point t2 ON t2.id = t1.video_point_id
@@ -19,7 +21,6 @@
         </where>
         GROUP BY
         t1.video_point_id
-        ORDER BY
         count DESC
     </select>
 

--
Gitblit v1.8.0