From c2caaab2f8ea4a6ee213c7f6f2be8a51f096c27f Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Fri, 22 Sep 2023 17:08:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=8D=95=E5=8F=98=E6=9B=B4(=E6=88=90?= =?UTF-8?q?=E5=93=81=E5=B7=A5=E5=8D=95=E5=8F=98=E6=9B=B4BUG=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/ProOrderWorkorderServiceImpl.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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()); // 生成对应批次表