From d6a9c5a9a93364c812b9149823facf5a118afa4f Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 08 八月 2024 17:44:29 +0800
Subject: [PATCH] mongo启动类注解

---
 ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml
index 382f7b4..cc7b9e9 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml
@@ -60,6 +60,8 @@
                     FROM t_report
                     WHERE id = #{id} AND deleted = 0
             ) as rr ON r.identify = rr.identify AND r.create_time &lt;= rr.create_time
+        ORDER BY
+            r.create_time DESC
     </select>
 
 </mapper>

--
Gitblit v1.8.0