From dabc704c9fefd335c69ea1cb118d239b01fb33e5 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期二, 19 十二月 2023 14:23:04 +0800
Subject: [PATCH] #map latest test

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

diff --git a/src/main/resources/mapper/BasShuttleOptMapper.xml b/src/main/resources/mapper/BasShuttleOptMapper.xml
index a072104..0d135fa 100644
--- a/src/main/resources/mapper/BasShuttleOptMapper.xml
+++ b/src/main/resources/mapper/BasShuttleOptMapper.xml
@@ -16,7 +16,17 @@
         <result column="memo" property="memo" />
         <result column="command" property="command" />
         <result column="system_status" property="systemStatus" />
+        <result column="send" property="send" />
+        <result column="response" property="response" />
+        <result column="device_wrk" property="deviceWrk" />
 
     </resultMap>
 
+    <select id="selectRunStatistic" resultType="map">
+        select shuttle_no,count(*) count from asr_bas_shuttle_opt
+        where send_time &gt;= DATEADD(day, DATEDIFF(day, 0, GETDATE()), 0)
+        and send_time &lt; DATEADD(day, DATEDIFF(day, 0, GETDATE())+1, 0)
+        group by shuttle_no
+    </select>
+
 </mapper>

--
Gitblit v1.9.1