From 4f6290bb416e17e692eafcb5bb40ee15af5148fe Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 12 八月 2024 14:20:55 +0800
Subject: [PATCH] 海康接口重写
---
ycl-server/src/main/resources/mapper/zgyw/PlatformOnlineMapper.xml | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/PlatformOnlineMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/PlatformOnlineMapper.xml
index 94c67ad..d52330e 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/PlatformOnlineMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/PlatformOnlineMapper.xml
@@ -12,12 +12,6 @@
<result column="create_time" property="createTime" />
</resultMap>
-
-
-
-
-
-
<select id="getById" resultMap="BaseResultMap">
SELECT
TPO.platform_name,
@@ -52,4 +46,9 @@
</if>
</select>
+
+ <select id="sumYesterday" resultMap="BaseResultMap">
+ select * from t_platform_online
+ where create_date between #{startDate} and #{endDate}
+ </select>
</mapper>
--
Gitblit v1.8.0