From 99fd2d5c6400b63079ec2ff6f385160303156998 Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 11 Feb 2022 10:49:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entities/WMS/WMSKanbanExtendAppService.cs | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs index caaa9960..de929e42 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs @@ -307,24 +307,24 @@ namespace Win.Sfs.SettleAccount.Entities.WMS { _ls = await _wmsRepository.Where(p => p.Version == input.Version && p.BillNum == input.BillNum && p.State != 2).ToListAsync(); } - var _errorls = _ls.Where(p => p.SockQty < p.OutputQty || p.Qty p.SockQty < p.OutputQty || p.Qty(); + //var checkList = new List(); - foreach (var itm in _errorls) - { - checkList.Add(new ErrorExportDto() { Message = string.Format("物料号:{0}出库数量大于结算数量或寄售库存数量!",itm.SapMaterialCode) }); - } + //foreach (var itm in _errorls) + //{ + // checkList.Add(new ErrorExportDto() { Message = string.Format("物料号:{0}出库数量大于结算数量或寄售库存数量!",itm.SapMaterialCode) }); + //} - if (checkList.Count > 0) - { + //if (checkList.Count > 0) + //{ - return await ExportErrorReportAsync(checkList, "校验失败.xlsx"); - } + // return await ExportErrorReportAsync(checkList, "校验失败.xlsx"); + //}