|
|
|
@ -656,7 +656,7 @@ |
|
|
|
b.alg_type, |
|
|
|
d.alg_subtype_name as alg_name |
|
|
|
from patrol_result a |
|
|
|
left join result_analysis b on a.line_id = b.business_id |
|
|
|
left join result_analysis b on a.line_id = b.business_id and a.task_patrolled_id = b.task_patrol_id and a.device_id = b.objectId |
|
|
|
left join basedata_alg_subtype d on b.alg_type = d.alg_subtype_code |
|
|
|
left join patrol_task_info c on a.task_code = c.task_major_id |
|
|
|
and a.device_id = c.device_id |
|
|
|
|