diff --git a/op-modules/op-plan/src/main/java/com/op/plan/service/impl/ProOrderWorkorderServiceImpl.java b/op-modules/op-plan/src/main/java/com/op/plan/service/impl/ProOrderWorkorderServiceImpl.java index 2c8a8e7f..f3cf4693 100644 --- a/op-modules/op-plan/src/main/java/com/op/plan/service/impl/ProOrderWorkorderServiceImpl.java +++ b/op-modules/op-plan/src/main/java/com/op/plan/service/impl/ProOrderWorkorderServiceImpl.java @@ -697,14 +697,16 @@ public class ProOrderWorkorderServiceImpl implements IProOrderWorkorderService { if (splitOrderDTO.getRouteCode() != null) { proOrderWorkorder.setRouteCode(splitOrderDTO.getRouteCode()); } - // 白坯工单返修-车数 - if (proOrderWorkorder.getProdType().equals("white")) { - if (splitOrderDTO.getCarNum() != null) { - proOrderWorkorder.setCarNum(splitOrderDTO.getCarNum()); - } - } +// // 白坯工单返修-车数 +// if (proOrderWorkorder.getProdType().equals("white")) { +// if (splitOrderDTO.getCarNum() != null) { +// proOrderWorkorder.setCarNum(splitOrderDTO.getCarNum()); +// } +// } proOrderWorkorderMapper.updateProOrderWorkorder(proOrderWorkorder); + // 删除工单下对应批次信息 + proOrderWorkorderBatchMapper.deleteProOrderWorkorderBatchByWorkorderId(proOrderWorkorder.getWorkorderId()); // System.out.println("这里是workorderCode------------》"+proOrderWorkorder.getWorkorderCode()); // 生成对应批次表