Browse Source

1688发货回调增加 物流信息查询日志

qianyi
shanji 3 years ago
parent
commit
657671caa4
  1. 6
      BBWY.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs

6
BBWY.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs

@ -429,6 +429,7 @@ namespace BBWY.Server.Business
private void DeliveryCallback(string purchaseOrderId, Enums.Platform callbackPlatform) private void DeliveryCallback(string purchaseOrderId, Enums.Platform callbackPlatform)
{ {
string currentProgress = string.Empty; string currentProgress = string.Empty;
string wayBillNoResponseInfo = string.Empty;
try try
{ {
#region 查询代发信息 #region 查询代发信息
@ -457,6 +458,9 @@ namespace BBWY.Server.Business
OrderId = purchaseOrderId, OrderId = purchaseOrderId,
Platform = callbackPlatform Platform = callbackPlatform
}); });
if (wayBillNoResponse != null)
wayBillNoResponseInfo = JsonConvert.SerializeObject(wayBillNoResponse);
#endregion #endregion
#region 查询采购账号的归属店铺 #region 查询采购账号的归属店铺
@ -496,7 +500,7 @@ namespace BBWY.Server.Business
} }
catch (Exception ex) catch (Exception ex)
{ {
logger.Error(ex, $"DeliveryCallback 回调平台{callbackPlatform},采购单号{purchaseOrderId},执行进度[{currentProgress}]"); logger.Error(ex, $"DeliveryCallback 回调平台{callbackPlatform},采购单号{purchaseOrderId},执行进度[{currentProgress}],物流信息:{wayBillNoResponseInfo}");
} }
} }

Loading…
Cancel
Save