Commit ba29bcd8 authored by suhuiguang's avatar suhuiguang

1.修改统计数据-今日巡检,-全景监控

parent 6ecf6864
......@@ -279,13 +279,13 @@
<select id="getStatisticsCheck" resultType="java.util.HashMap">
<![CDATA[
SELECT t.finish_status as type, count(1) as value
SELECT d.status as type, count(1) as value
FROM p_plan_task_detail d
left JOIN p_plan_task t on t.id=d.task_no
WHERE
DATEDIFF(t.begin_time,CURRENT_DATE) <= 0 AND DATEDIFF(t.end_time,CURRENT_DATE) >= 0
AND (t.org_code = #{org_code} or t.org_code like CONCAT(#{orgCode},'-','%'))
GROUP BY t.finish_status
GROUP BY d.status
]]>
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment