From 5578ddc7b1165b5d214855d9fa6ca357a7d7f002 Mon Sep 17 00:00:00 2001 From: ljl Date: Thu, 30 Nov 2023 17:38:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ms/biz/service/impl/DsMessageServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ms-biz/src/main/java/com/ms/biz/service/impl/DsMessageServiceImpl.java b/ms-biz/src/main/java/com/ms/biz/service/impl/DsMessageServiceImpl.java index cecd0e3..99e8dfe 100644 --- a/ms-biz/src/main/java/com/ms/biz/service/impl/DsMessageServiceImpl.java +++ b/ms-biz/src/main/java/com/ms/biz/service/impl/DsMessageServiceImpl.java @@ -375,6 +375,9 @@ public class DsMessageServiceImpl implements DsMessageService { } private void handlePurchaseOrderAfterCancel(PurchaseOrderDTO purchaseOrderDTO, PurchaseOrder purchaseOrder) { + if (purchaseOrderDTO.getPurchaseOrderPayTime() != null) { + return; + } Date updateTime = CommonTool.parseDate(purchaseOrderDTO.getPurchaseOrderUpdateTime()); purchaseOrder.setStatus(StatusConst.delete); SupplyCenterOrderCancelParam param = new SupplyCenterOrderCancelParam();