From ab51cb082798e1b57427422573780b1b79d82d1b Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Fri, 22 Sep 2023 17:35:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=8D=95=E5=8F=98=E6=9B=B4(=E7=99=BD?= =?UTF-8?q?=E5=9D=AF=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 --- .../com/op/plan/service/impl/ProOrderWorkorderServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) 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 f3cf4693..c3513d8e 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 @@ -629,6 +629,9 @@ public class ProOrderWorkorderServiceImpl implements IProOrderWorkorderService { proOrderWorkorderMapper.updateProOrderWorkorder(proOrderWorkorder); + // 删除工单下批次信息 + proOrderWorkorderBatchMapper.deleteProOrderWorkorderBatchByWorkorderId(proOrderWorkorder.getWorkorderId()); + workBatch.setWorkorderId(proOrderWorkorder.getWorkorderId()); // 生成批次表信息并更新至数据库