|
|
@ -47,7 +47,10 @@ public class InspectionWorkServiceImpl implements IInspectionWorkService {
|
|
|
|
EquOrder order = equOrderMapper.selectEquOrderByOrderId(orderId);
|
|
|
|
EquOrder order = equOrderMapper.selectEquOrderByOrderId(orderId);
|
|
|
|
// 设置计划名称
|
|
|
|
// 设置计划名称
|
|
|
|
EquPlan equPlan = equPlanMapper.selectEquPlanByPlanCode(order.getPlanCode());
|
|
|
|
EquPlan equPlan = equPlanMapper.selectEquPlanByPlanCode(order.getPlanCode());
|
|
|
|
order.setPlanName(equPlan.getPlanName());
|
|
|
|
if (equPlan != null) {
|
|
|
|
|
|
|
|
order.setPlanName(equPlan.getPlanName());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 替换循环周期
|
|
|
|
// 替换循环周期
|
|
|
|
order.setPlanLoopType(equOrderMapper.changeLoopType(order.getPlanLoopType()));
|
|
|
|
order.setPlanLoopType(equOrderMapper.changeLoopType(order.getPlanLoopType()));
|
|
|
|
|
|
|
|
|
|
|
|