From 236972a79220fa9afbf78665e647fb9195ef0014 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期四, 21 三月 2024 17:29:59 +0800
Subject: [PATCH] 添加计算数据接口

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

diff --git a/src/main/resources/mapper/QxshMapper.xml b/src/main/resources/mapper/QxshMapper.xml
index 528dc56..670457d 100644
--- a/src/main/resources/mapper/QxshMapper.xml
+++ b/src/main/resources/mapper/QxshMapper.xml
@@ -136,4 +136,24 @@
         where time = #{time} and name = #{name}
         limit 1;
     </select>
+
+    <select id="countGcsjByTime" resultType="java.lang.Integer">
+        select count(*) from yssh_gcsj where time between #{start} and #{end};
+    </select>
+
+    <select id="countQxshByTime" resultType="java.lang.Integer">
+        select count(*) from yssh_qxsh where time between #{start} and #{end};
+    </select>
+
+    <select id="countSuYuan46ByTime" resultType="java.lang.Integer">
+        select count(*) from suyuan_46 where create_time between #{start} and #{end};
+    </select>
+
+    <select id="countSuYuan70ByTime" resultType="java.lang.Integer">
+        select count(*) from suyuan_70_70 where create_time between #{start} and #{end};
+    </select>
+
+    <select id="countSuYuanFastByTime" resultType="java.lang.Integer">
+        select count(*) from suyuan_fast where create_time between #{start} and #{end};
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3