From 1fdd45512bb81254e44598edaeb74299895b09db Mon Sep 17 00:00:00 2001 From: mahao Date: Wed, 8 Mar 2023 16:10:02 +0800 Subject: [PATCH] =?UTF-8?q?Json=E8=AE=B0=E5=BD=95=E5=88=B0Log=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WmsWebApi.Application/Boms/BomService.cs | 2 ++ src/WmsWebApi.Application/OtherZll/OtherZllService.cs | 1 + src/WmsWebApi.Application/PPlan/PPlanService.cs | 2 ++ .../ProductRecieve/ProductRecieveService.cs | 2 ++ src/WmsWebApi.Application/Purchase/PurchaseService.cs | 2 ++ src/WmsWebApi.Application/StockMove/StockMoveService.cs | 2 ++ src/WmsWebApi.Application/TbParts/PartService.cs | 2 ++ src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs | 2 ++ 8 files changed, 15 insertions(+) diff --git a/src/WmsWebApi.Application/Boms/BomService.cs b/src/WmsWebApi.Application/Boms/BomService.cs index 40eefb0..eb17742 100644 --- a/src/WmsWebApi.Application/Boms/BomService.cs +++ b/src/WmsWebApi.Application/Boms/BomService.cs @@ -238,6 +238,8 @@ public class BomService : ApplicationService, IBomService { if (IsRequestRetry == false) { + Logger.LogInformation(bomdto.JSON); + if (bNotFind) { bomdto.ITYPE = result.MESSAGE; diff --git a/src/WmsWebApi.Application/OtherZll/OtherZllService.cs b/src/WmsWebApi.Application/OtherZll/OtherZllService.cs index 890f203..ea1d7c0 100644 --- a/src/WmsWebApi.Application/OtherZll/OtherZllService.cs +++ b/src/WmsWebApi.Application/OtherZll/OtherZllService.cs @@ -374,6 +374,7 @@ public class OtherZllService : ApplicationService, IOtherZllService { if (IsRequestRetry == false) { + Logger.LogInformation(dto.JSON); try { await AddOtherZLLDtoNowUnitOfWorkAsync(dto); diff --git a/src/WmsWebApi.Application/PPlan/PPlanService.cs b/src/WmsWebApi.Application/PPlan/PPlanService.cs index d4471e8..8a436ce 100644 --- a/src/WmsWebApi.Application/PPlan/PPlanService.cs +++ b/src/WmsWebApi.Application/PPlan/PPlanService.cs @@ -204,6 +204,8 @@ public class PPlanService : ApplicationService, IPPlanService { if (IsRequestRetry == false) { + Logger.LogInformation(dto.JSON); + if (bUpdate) { dto.ITYPE = "更新!"; diff --git a/src/WmsWebApi.Application/ProductRecieve/ProductRecieveService.cs b/src/WmsWebApi.Application/ProductRecieve/ProductRecieveService.cs index a80e13c..28b58cb 100644 --- a/src/WmsWebApi.Application/ProductRecieve/ProductRecieveService.cs +++ b/src/WmsWebApi.Application/ProductRecieve/ProductRecieveService.cs @@ -288,6 +288,8 @@ public class ProductRecieveService : ApplicationService, IProductRecieveService { if (IsRequestRetry == false) { + Logger.LogInformation(apiPRdto.JSON); + if (bErr) { result.TYPE = 'E'; diff --git a/src/WmsWebApi.Application/Purchase/PurchaseService.cs b/src/WmsWebApi.Application/Purchase/PurchaseService.cs index df62c91..6a8fcd4 100644 --- a/src/WmsWebApi.Application/Purchase/PurchaseService.cs +++ b/src/WmsWebApi.Application/Purchase/PurchaseService.cs @@ -391,6 +391,8 @@ public class PurchaseService : ApplicationService, IPurchaseService { if (IsRequestRetry == false) { + Logger.LogInformation(dto.JSON); + if (bUpdate) { dto.ITYPE = $"err:单据 {_purchaseDto.MBLNR} 已存在!"; diff --git a/src/WmsWebApi.Application/StockMove/StockMoveService.cs b/src/WmsWebApi.Application/StockMove/StockMoveService.cs index 3c3e05c..e18cbe5 100644 --- a/src/WmsWebApi.Application/StockMove/StockMoveService.cs +++ b/src/WmsWebApi.Application/StockMove/StockMoveService.cs @@ -429,6 +429,8 @@ public class StockMoveService : ApplicationService, IStockMoveService { if (IsRequestRetry == false) { + Logger.LogInformation(apiSSdto.JSON); + if (bErr) { result.TYPE = 'E'; diff --git a/src/WmsWebApi.Application/TbParts/PartService.cs b/src/WmsWebApi.Application/TbParts/PartService.cs index fd5b72f..2355205 100644 --- a/src/WmsWebApi.Application/TbParts/PartService.cs +++ b/src/WmsWebApi.Application/TbParts/PartService.cs @@ -306,6 +306,8 @@ public class PartService : ApplicationService, IPartService { if (IsRequestRetry == false) { + Logger.LogInformation(partdto.JSON); + if (bUpdate) { partdto.ITYPE = "更新"; diff --git a/src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs b/src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs index 68a7dae..94cc2c7 100644 --- a/src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs +++ b/src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs @@ -278,6 +278,8 @@ public class ZlldcjLogAppService : ApplicationService, IZlldcjLogAppService { if (IsRequestRetry == false) { + Logger.LogInformation(zlldcjdto.JSON); + if (bErr) { zlldcjdto.ITYPE = result.MESSAGE;