From 4b929edef85456704f742f88496c149a72baf112 Mon Sep 17 00:00:00 2001 From: shanji <18996038927@163.com> Date: Tue, 10 May 2022 15:31:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8F=91=E8=B4=A7=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=89=A7=E8=A1=8C=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BBWY.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BBWY.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs b/BBWY.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs index f893d0fc..6cc50c6b 100644 --- a/BBWY.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs +++ b/BBWY.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs @@ -432,6 +432,7 @@ namespace BBWY.Server.Business string wayBillNoResponseInfo = string.Empty; string logisticsCompanyListInfo = string.Empty; string logisticsCompanyId = string.Empty; + string orderId = string.Empty; try { #region 查询代发信息 @@ -439,6 +440,7 @@ namespace BBWY.Server.Business var orderDropshipping = fsql.Select().Where(o => o.PurchaseOrderId == purchaseOrderId).ToOne(); if (orderDropshipping == null) throw new Exception("未查询到代发信息"); + orderId = orderDropshipping.OrderId; #endregion #region 查询采购账号 @@ -501,10 +503,12 @@ namespace BBWY.Server.Business LogisticsId = logisticsCompanyId //物流公司Id }); #endregion + + logger.Info($"DeliveryCallback 回调平台{callbackPlatform},订单号{orderId},采购单号{purchaseOrderId},执行进度[{currentProgress}],采购单物流信息:{wayBillNoResponseInfo},店铺平台物流公司列表:{logisticsCompanyListInfo},翻译后的物流公司Id:{logisticsCompanyId}"); } catch (Exception ex) { - logger.Error(ex, $"DeliveryCallback 回调平台{callbackPlatform},采购单号{purchaseOrderId},执行进度[{currentProgress}],采购单物流信息:{wayBillNoResponseInfo},店铺平台物流公司列表:{logisticsCompanyListInfo},翻译后的物流公司Id:{logisticsCompanyId}"); + logger.Error(ex, $"DeliveryCallback 回调平台{callbackPlatform},订单号{orderId},采购单号{purchaseOrderId},执行进度[{currentProgress}],采购单物流信息:{wayBillNoResponseInfo},店铺平台物流公司列表:{logisticsCompanyListInfo},翻译后的物流公司Id:{logisticsCompanyId}"); } }