From 8a1f312d9f7842bb02c97b200e017926f0af63a5 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期三, 17 九月 2025 14:48:08 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/BasShuttleOptMapper.xml | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/BasShuttleOptMapper.xml b/src/main/resources/mapper/BasShuttleOptMapper.xml
index 0d135fa..b49d0d1 100644
--- a/src/main/resources/mapper/BasShuttleOptMapper.xml
+++ b/src/main/resources/mapper/BasShuttleOptMapper.xml
@@ -29,4 +29,11 @@
group by shuttle_no
</select>
+ <select id="selectRunErrorStatistic" resultType="map">
+ select shuttle_no,count(*) count from asr_bas_shuttle_err_log
+ where start_time > DATEADD(day, DATEDIFF(day, 0, GETDATE())-#{time}, 0)
+ and start_time < DATEADD(day, DATEDIFF(day, 0, GETDATE()), 0)
+ GROUP BY shuttle_no
+ </select>
+
</mapper>
--
Gitblit v1.9.1