From 755dde844d32ff95634447405117779bdecd1a3e Mon Sep 17 00:00:00 2001 From: 18942506660 <18942506660@A18942506660> Date: Wed, 30 Oct 2024 17:38:04 +0800 Subject: [PATCH] =?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 --- src/WMS.Web.Domain/Services/ProductInventoryService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/WMS.Web.Domain/Services/ProductInventoryService.cs b/src/WMS.Web.Domain/Services/ProductInventoryService.cs index c63da746..e6596b3b 100644 --- a/src/WMS.Web.Domain/Services/ProductInventoryService.cs +++ b/src/WMS.Web.Domain/Services/ProductInventoryService.cs @@ -1,6 +1,7 @@ using Microsoft.EntityFrameworkCore.Storage; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; +using Newtonsoft.Json; using NPOI.POIFS.FileSystem; using System; using System.Collections.Generic; @@ -16,6 +17,7 @@ using WMS.Web.Domain.Infrastructure; using WMS.Web.Domain.IService; using WMS.Web.Domain.IService.Public; using WMS.Web.Domain.Values; +using static Microsoft.EntityFrameworkCore.DbLoggerCategory; namespace WMS.Web.Domain.Services { @@ -226,6 +228,7 @@ namespace WMS.Web.Domain.Services if (listNames.Count() <= 0) return Result.ReSuccess(); //获取领星仓库 var resStock = await _lingXingService.GetStock(); + _logger.LogInformation($"拉取领星仓库:{JsonConvert.SerializeObject(resStock)}"); if (!resStock.IsSuccess) return resStock; var ids = resStock.Data.Where(w => listNames.Contains(w.Name)).Select(s => s.Id).ToList();