From 52a3d2b51c7ca58abcb0e31783671af98d526aef Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期五, 22 十二月 2023 12:17:23 +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 5436fd3..d6c1a60 100644
--- a/src/main/resources/mapper/BasLiftOptMapper.xml
+++ b/src/main/resources/mapper/BasLiftOptMapper.xml
@@ -23,4 +23,11 @@
         order by send_time desc
     </select>
 
+    <select id="selectRunStatistic" resultType="map">
+        select lift_no,count(*) count from asr_bas_lift_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 lift_no
+    </select>
+
 </mapper>

--
Gitblit v1.9.1