赵宏斌 2 months ago
parent
commit
a943d1d297
  1. 7
      src/main/resources/mapper/pms/EamMapper.xml

7
src/main/resources/mapper/pms/EamMapper.xml

@ -732,7 +732,6 @@
a.checker,
a.ActualOperator,
a.PlanDate,
a.PlanDate as taskStartDate,
a.ActualDate,
a.FunctionType,
a.CreateDate,
@ -769,7 +768,11 @@
a.check_type,
a.is_return,
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
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

Loading…
Cancel
Save