From afe795bc29d576d51fe73f09cc1c57a5fd22de59 Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Wed, 07 Apr 2021 16:44:26 +0800
Subject: [PATCH] 1.视频录制
---
blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/healthcode/mapper/healthcodeMapper.xml | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/healthcode/mapper/healthcodeMapper.xml b/blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/healthcode/mapper/healthcodeMapper.xml
index cd2985f..3225b9b 100644
--- a/blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/healthcode/mapper/healthcodeMapper.xml
+++ b/blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/healthcode/mapper/healthcodeMapper.xml
@@ -153,4 +153,19 @@
ORDER BY dtime desc
</select>
+ <!--查询当前时间段红色健康码总个数-->
+ <select id="selHealthcodeTimeCount" resultType="java.lang.Integer">
+ select count(*) from healthcode
+ where type = 3
+ <if test="conditionVo.startTime!=null and conditionVo.startTime!='' and conditionVo.endTime!=null and conditionVo.endTime!=''">
+ and dtime between #{conditionVo.startTime} and #{conditionVo.endTime}
+ </if>
+ </select>
+
+ <!--查询当前时间段区间时间红色健康码个数-->
+ <select id="selRedCodeTimeData" resultType="org.springblade.jfpt.healthcode.entity.Healthcode">
+ SELECT type,dtime FROM healthcode
+ where type =3
+ and dtime between #{conditionVo.startTime} and #{conditionVo.endTime}
+ </select>
</mapper>
--
Gitblit v1.9.3