|
@ -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 < #{endTime} |
|
|
and submit_time < #{endTime} |
|
|