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();