Browse Source

202205

master
zhangye 3 years ago
parent
commit
3367b2e27c
  1. 4
      src/main/resources/mapper_dao/FormRecordDao.xml

4
src/main/resources/mapper_dao/FormRecordDao.xml

@ -79,8 +79,6 @@
</select> </select>
<select id="statisticsHealthByType" resultType="com.ccsens.delivery.bean.vo.CommonVo$HealthNum"> <select id="statisticsHealthByType" resultType="com.ccsens.delivery.bean.vo.CommonVo$HealthNum">
SELECT SELECT
count(*) as reportNum count(*) as reportNum
<if test="type = 0 or type = 1"> <if test="type = 0 or type = 1">
@ -114,7 +112,7 @@
#{id} #{id}
</foreach> </foreach>
) )
-- AND ocr = 0 AND ocr = 1
and `type` = #{types} and `type` = #{types}
and submit_time >= #{startTime} and submit_time >= #{startTime}
and submit_time &lt; #{endTime} and submit_time &lt; #{endTime}

Loading…
Cancel
Save