Commit 63b482ee authored by litengwei's avatar litengwei

巡检位置问题

parent 47ec6628
......@@ -285,7 +285,7 @@
e.NAME route_name,
d.NAME point_name,
a.user_name user_name,
wws.NAME address,
wws.full_name address,
date_format( pc.check_time, '%Y-%m-%d %H:%i:%s' ) checkDate,
( CASE b.is_finish WHEN 0 THEN '未执行' WHEN 1 THEN '已执行' ELSE '未执行' END ) AS `Finish_Status`,
( CASE b.is_finish WHEN 0 THEN '尚未巡检' WHEN 1 THEN '按时完成' ELSE '超时漏检' END ) AS `is_ok`,
......@@ -297,7 +297,7 @@
LEFT JOIN p_plan c ON c.id = a.plan_id
LEFT JOIN p_point d ON d.id = b.point_id
LEFT JOIN p_route e ON e.id = a.route_id
LEFT JOIN wl_warehouse_structure wws ON wws.id = d.risk_source_id
LEFT JOIN wl_warehouse_structure wws ON wws.source_id = d.risk_source_id
LEFT JOIN p_check pc ON pc.plan_task_detail_id = b.id
<where>
<if test="bizOrgCode != null and bizOrgCode != ''">
......
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