From ca5fdc05f61880b1178c4d321456ff41c803cc38 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 12 八月 2024 12:08:40 +0800
Subject: [PATCH] 海康接口封装
---
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 <= rr.create_time
+ ORDER BY
+ r.create_time DESC
</select>
</mapper>
--
Gitblit v1.8.0