报表-保养记录init

highway
wws 1 year ago
parent 1417a47d95
commit 362a8ac15a

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

Loading…
Cancel
Save