From 250d748ed2376140e04b5ebe3654d02b421b4af8 Mon Sep 17 00:00:00 2001 From: liuyunfeng Date: Wed, 6 Mar 2024 15:13:31 +0800 Subject: [PATCH] =?UTF-8?q?3=E4=B8=AA=E6=8B=86=E7=AE=B1=E6=96=B9=E6=B3=95?= =?UTF-8?q?=EF=BC=88=E6=9B=B4=E6=96=B0=E4=BB=BB=E5=8A=A1=E6=98=8E=E7=BB=86?= =?UTF-8?q?=EF=BC=89=E6=B5=8B=E8=AF=95=E5=AE=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Jobs/InspectJobs/InspectJobAppService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/InspectJobs/InspectJobAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/InspectJobs/InspectJobAppService.cs index 677079a54..e363915bd 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/InspectJobs/InspectJobAppService.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/InspectJobs/InspectJobAppService.cs @@ -170,7 +170,7 @@ public class InspectJobAppService public virtual async Task SaveDetail_SplitPackingAsync(SplitPacking_UpdateJobDetailInput input) { InspectJob job = await _repository.FindAsync(p => p.Number == input.Number).ConfigureAwait(false); - InspectJobDetail detail = job.Details.FirstOrDefault(p => p.PackingCode == input.FromPackingCode && p.InspectQty == input.FromQty); + InspectJobDetail detail = job.Details.FirstOrDefault(p => p.PackingCode == input.FromPackingCode && p.ReceiveQty == input.FromQty); if (detail == null) { throw new UserFriendlyException($"根据PackingCode={input.FromPackingCode}取InspectDetail表为空!");