diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/DJYChargeFee/DJYChargeFeeService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/DJYChargeFee/DJYChargeFeeService.cs index 78eb3b18..9d9f55ee 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/DJYChargeFee/DJYChargeFeeService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/DJYChargeFee/DJYChargeFeeService.cs @@ -103,8 +103,6 @@ namespace DS.WMS.Core.Op.Method var orderInfo = orderList.FirstOrDefault(a => a.Id == id); - - var userInfo = db.Queryable().Filter(null, true).First(x => x.Id == orderInfo.OperatorId && x.TenantId == long.Parse(user.TenantId)); string djyUserId = userInfo?.DjyUserId; @@ -122,6 +120,8 @@ namespace DS.WMS.Core.Op.Method { detail.Status = "FAILURE"; detail.Message = $"当前操作OP={userInfo?.UserName}没有绑定大简云用户ID,请联系管理员"; + + Logger.Log(NLog.LogLevel.Info, $"当前操作OP={userInfo?.UserName}没有绑定大简云用户ID,请联系管理员"); continue; } @@ -132,6 +132,8 @@ namespace DS.WMS.Core.Op.Method { detail.Status = "FAILURE"; detail.Message = $"未配置大简云扣费授权,请在接口账户维护"; + + Logger.Log(NLog.LogLevel.Info, $"未配置大简云扣费授权,请在接口账户维护"); continue; } diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportBookingOrClosingEDIService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportBookingOrClosingEDIService.cs index 3c99878a..466d2e35 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportBookingOrClosingEDIService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportBookingOrClosingEDIService.cs @@ -1868,7 +1868,7 @@ namespace DS.WMS.Core.Op.Method } }); - _logger.Info($"批次={batchNo} 扣费完成,结果{JsonConvert.SerializeObject(feeRlt)}"); + _logger.Info($"批次={batchNo} mblno={ }扣费完成,结果{JsonConvert.SerializeObject(feeRlt)}"); } }