From 3ff5398ac23482561465edf7274c92b301295aa8 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Mon, 28 Oct 2024 18:30:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=A3=E8=B4=B9=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Op/Method/DJYChargeFee/DJYChargeFeeService.cs | 6 ++++-- .../Op/Method/SeaExportBookingOrClosingEDIService.cs | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) 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)}"); } }