From fd85fc802b7084689bcb0abc20f2b678b0908073 Mon Sep 17 00:00:00 2001 From: ljl Date: Mon, 18 Sep 2023 09:29:26 +0800 Subject: [PATCH] yh --- .../ms/api/service/impl/DistributionOrderServiceImpl.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ms-biz/src/main/java/com/ms/api/service/impl/DistributionOrderServiceImpl.java b/ms-biz/src/main/java/com/ms/api/service/impl/DistributionOrderServiceImpl.java index 7971bb6b..f0128115 100644 --- a/ms-biz/src/main/java/com/ms/api/service/impl/DistributionOrderServiceImpl.java +++ b/ms-biz/src/main/java/com/ms/api/service/impl/DistributionOrderServiceImpl.java @@ -1177,6 +1177,7 @@ public class DistributionOrderServiceImpl implements DistributionOrderService { throw new RuntimeException(response.getReason()); } } + log.info("cancelPurchaseOrder: " + skuIds); if (skuIds.isEmpty()) { cancelPurchaseOrderByOrderId(shopId, orderId, source); } else { @@ -1265,13 +1266,15 @@ public class DistributionOrderServiceImpl implements DistributionOrderService { dataSourceTransactionManager.commit(transactionStatus); } catch (Throwable e) { dataSourceTransactionManager.rollback(transactionStatus); - log.error("doCancelPurchaseOrderItem transaction error: " + e.getMessage()); + log.error("doCancelPurchaseOrderItem transaction", e); throw new RuntimeException("处理异常"); } opOrderDsService.updateOpOrderDsFilterStatus(orderId, PurchaseOrderConst.PURCHASE_PLATFORM1688_D_S); } public void doCancelPurchaseOrderItem(String orderId, List needCancelPurchaseOrderIds, List needCancelPurchaseOrderItemIds, List logs) { + log.info("doCancelPurchaseOrderItem_needCancelPurchaseOrderIds" + needCancelPurchaseOrderIds); + log.info("doCancelPurchaseOrderItem_needCancelPurchaseOrderItemIds" + needCancelPurchaseOrderItemIds); if (!needCancelPurchaseOrderIds.isEmpty()) { purchaseOrderService.updateStatusByIds(StatusConst.cancel, needCancelPurchaseOrderIds); }