|
|
@ -732,7 +732,6 @@ |
|
|
a.checker, |
|
|
a.checker, |
|
|
a.ActualOperator, |
|
|
a.ActualOperator, |
|
|
a.PlanDate, |
|
|
a.PlanDate, |
|
|
a.PlanDate as taskStartDate, |
|
|
|
|
|
a.ActualDate, |
|
|
a.ActualDate, |
|
|
a.FunctionType, |
|
|
a.FunctionType, |
|
|
a.CreateDate, |
|
|
a.CreateDate, |
|
|
@ -769,7 +768,11 @@ |
|
|
a.check_type, |
|
|
a.check_type, |
|
|
a.is_return, |
|
|
a.is_return, |
|
|
ewo.plan_period, |
|
|
ewo.plan_period, |
|
|
ewo.plan_cycle |
|
|
|
|
|
|
|
|
ewo.plan_cycle, |
|
|
|
|
|
CASE |
|
|
|
|
|
when ewo.plan_cycle = '时' then a.PlanDate |
|
|
|
|
|
else ewo.task_start_date |
|
|
|
|
|
end as taskStartDate |
|
|
FROM eam_workOrder a |
|
|
FROM eam_workOrder a |
|
|
left join eam_object as eo on eo.site = a.site and eo.ObjectID = a.ObjectID and eo.bu_no = a.bu_no |
|
|
left join eam_object as eo on eo.site = a.site and eo.ObjectID = a.ObjectID and eo.bu_no = a.bu_no |
|
|
left join sys_department as sd ON eo.site = sd.site and eo.dept_id = sd.department_id and eo.bu_no = sd.bu_no |
|
|
left join sys_department as sd ON eo.site = sd.site and eo.dept_id = sd.department_id and eo.bu_no = sd.bu_no |
|
|
|