From 548ff23c8df0c52efcfec1459dfac67d2ffad4f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Fri, 13 Oct 2023 11:30:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E7=A5=A8=E7=94=9F?= =?UTF-8?q?=E6=88=90=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/SettleAccount.Application/Bases/ADJ_SERVICE.cs | 2 +- .../SettleAccount.Domain/Entities/BQ/Managers/INV_MNG.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs index 478cc0a4..3387e162 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs @@ -267,7 +267,7 @@ namespace Win.Sfs.SettleAccount.Bases { itm.BusinessType = EnumBusinessType.YinDuJian; } - errorEntitylist = await _baseDomainService.CheckPriceList(entityList, inv.Site, true).ConfigureAwait(false); + errorEntitylist = await _baseDomainService.CheckPriceList(entityList, inv.Site).ConfigureAwait(false); break; default: errorEntitylist = await _baseDomainService.CheckPriceList(entityList, inv.Site).ConfigureAwait(false); diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/INV_MNG.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/INV_MNG.cs index 7f54b3bd..4f9520ac 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/INV_MNG.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/INV_MNG.cs @@ -1475,7 +1475,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers await _repository.DbContext.BulkInsertAsync(detailList).ConfigureAwait(false); if (adjlist.Count > 0) { - await _repository.DbContext.BulkUpdateAsync(adjlist).ConfigureAwait(false); + await _repository.DbContext.BulkInsertAsync(adjlist).ConfigureAwait(false); } if (notDetialList.Count > 0) { @@ -2022,7 +2022,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers } if (adjlist.Count > 0) { - await _repository.DbContext.BulkUpdateAsync(adjlist).ConfigureAwait(false); + await _repository.DbContext.BulkInsertAsync(adjlist).ConfigureAwait(false); } if (p_notlist.Count > 0) { @@ -2348,7 +2348,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers } if (adjlist.Count > 0) { - await _repository.DbContext.BulkUpdateAsync(adjlist).ConfigureAwait(false); + await _repository.DbContext.BulkInsertAsync(adjlist).ConfigureAwait(false); } if (notDetialList.Count > 0) {