From 2dc3f0507d6e883d16b1c3c095ca06455a6fa1a7 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期一, 25 十二月 2023 09:21:20 +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 99fefa1..0d135fa 100644
--- a/src/main/resources/mapper/BasShuttleOptMapper.xml
+++ b/src/main/resources/mapper/BasShuttleOptMapper.xml
@@ -22,4 +22,11 @@
</resultMap>
+ <select id="selectRunStatistic" resultType="map">
+ select shuttle_no,count(*) count from asr_bas_shuttle_opt
+ where send_time >= DATEADD(day, DATEDIFF(day, 0, GETDATE()), 0)
+ and send_time < DATEADD(day, DATEDIFF(day, 0, GETDATE())+1, 0)
+ group by shuttle_no
+ </select>
+
</mapper>
--
Gitblit v1.9.1