From be45ddd261f55444362eb32377a81eb32b191587 Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 17 Jun 2022 15:32:04 +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/WMSJitAppService.cs | 5 ----- .../Entities/WMS/WmsHQKBOutputAppService.cs | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs index 46c81cf9..316604c8 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs @@ -232,12 +232,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts input.SkipCount, true); var totalCount = await GetCountAsync(input); - - - var _ls = _repository.GetDic("WmsJitOutPut"); - - foreach (var itm in entities) { var _first = _ls.FirstOrDefault(p => p.BillNum == itm.BillNum); diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs index 4a846d2e..efd089e3 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs @@ -346,7 +346,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS 0, 0, itm.Price, - itm.Amt + Math.Round((itm.Price * itm.Qty),2) ); await _wmsRepository.GetDbContext().BulkInsertAsync(query.ToList(), new BulkConfig() { BulkCopyTimeout = 0, BatchSize = 10000 });