From 69f3935b2ac26626de563aa92e333cb71b31a3dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Fri, 27 Dec 2024 15:20:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=B7=A5=E8=BD=AC=E5=82=A8=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Notes/TransferNotes/TransferNoteAppService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs index eb5a808b2..aa3b7d919 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs @@ -452,7 +452,7 @@ public class TransferNoteAppService : SfsStoreWithDetailsAppServiceBase if (!string.IsNullOrEmpty(packingCode)) { var packingcode = await _expectOutAppService.GetListByPackingCodeAsync(packingCode).ConfigureAwait(false); - if (packingcode != null && packingCode.Length > 0) + if (packingcode != null && packingCode.Length == 0) { throw new UserFriendlyException($"箱码{packingCode}在预计出中已存在!"); }