Commit c7e8b237 authored by xinglei's avatar xinglei

*)实际巡检统计错误bug

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