From d13a01d1769f29b336e5b9f8612c6d41aaabbbb1 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 22 十一月 2024 20:42:20 +0800
Subject: [PATCH] #读取地图文件优化

---
 src/main/resources/mapper/BasLiftOptMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/BasLiftOptMapper.xml b/src/main/resources/mapper/BasLiftOptMapper.xml
index 95670b0..763bf2c 100644
--- a/src/main/resources/mapper/BasLiftOptMapper.xml
+++ b/src/main/resources/mapper/BasLiftOptMapper.xml
@@ -31,4 +31,11 @@
         group by lift_no
     </select>
 
+    <select id="selectRunErrorStatistic" resultType="map">
+        select lift_no,count(*) count from asr_bas_lift_err_log
+        where start_time &gt; DATEADD(day, DATEDIFF(day, 0, GETDATE())-#{time}, 0)
+          and start_time &lt; DATEADD(day, DATEDIFF(day, 0, GETDATE()), 0)
+        GROUP BY lift_no
+    </select>
+
 </mapper>

--
Gitblit v1.9.1