|
|
|
@ -766,7 +766,7 @@ |
|
|
|
<select id="selectCurrentPatrolResultList" parameterType="com.inspect.simulator.domain.result.PatrolResult" |
|
|
|
resultType="com.inspect.simulator.domain.result.PatrolResult"> |
|
|
|
select f.line_id lineId, |
|
|
|
e.area_name areaName, |
|
|
|
d.area_name areaName, |
|
|
|
c.device_name deviceName, |
|
|
|
a.patrol_point_name pointName, |
|
|
|
f.create_time createTime, |
|
|
|
@ -781,6 +781,7 @@ |
|
|
|
left join basedata_patrolpoint a on f.device_id = a.patrol_point_id |
|
|
|
left join basedata_device c on a.main_device_id = c.device_id |
|
|
|
left join basedata_area e on a.area_id = e.area_id |
|
|
|
left join basedata_area d on d.area_id = e.parent_id |
|
|
|
left join result_analysis ra on f.line_id = ra.business_id and f.device_id = ra.objectId and |
|
|
|
f.task_patrolled_id = ra.task_patrol_id |
|
|
|
left join basedata_alg_subtype bas |
|
|
|
|