blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/animalheat/mapper/AnimalHeatMapper.xml
@@ -118,4 +118,13 @@ a.click_date = b.datetime order by a.click_date asc </select> <!--查询当前时间段体温异常总次数--> <select id="selAnimalTimeCount" resultType="java.lang.Integer"> select count(*) from blade_animal_heat where status=1 <if test="conditionVo.startTime!=null and conditionVo.startTime!='' and conditionVo.endTime!=null and conditionVo.endTime!=''"> and create_time between #{conditionVo.startTime} and #{conditionVo.endTime} </if> </select> </mapper>