Commit c7e8b237 authored by xinglei's avatar xinglei

*)实际巡检统计错误bug

parent 7269d153
...@@ -1977,11 +1977,11 @@ ...@@ -1977,11 +1977,11 @@
0 0
END missed, END missed,
CASE CASE
WHEN c.is_ok = 3 THEN WHEN (c.is_ok = 1 or c.is_ok = 2) THEN
0
ELSE
1 1
END finish ELSE
0
END finish
FROM FROM
p_plan_task pnt p_plan_task pnt
LEFT JOIN p_route r ON r.id = pnt.route_id LEFT JOIN p_route r ON r.id = pnt.route_id
......
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