From a0f249b0e0d28b6e910e24f0c936c8d950f69a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Thu, 21 Sep 2023 16:02:03 +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/BQ/Managers/BBAC_CAN_SA_MNG.cs | 1 - .../Entities/BQ/Managers/BBAC_NOT_SA_MNG.cs | 4 ---- 2 files changed, 5 deletions(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/BBAC_CAN_SA_MNG.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/BBAC_CAN_SA_MNG.cs index 0d64cecc..05ee1f06 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/BBAC_CAN_SA_MNG.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/BBAC_CAN_SA_MNG.cs @@ -37,7 +37,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers return true; } return false; - } /// diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/BBAC_NOT_SA_MNG.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/BBAC_NOT_SA_MNG.cs index 262853b2..8ebbdc14 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/BBAC_NOT_SA_MNG.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/BBAC_NOT_SA_MNG.cs @@ -39,13 +39,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers _detailRepository = detailRepository; _notRepository = notRepository; _service = service; - } public virtual async Task> GenerateSettlementOrder(List p_list) { - var first = p_list.FirstOrDefault(); - List errors = new List(); var priceErrors = await _service.CheckPriceList(p_list, first.Site).ConfigureAwait(false); if (priceErrors.Count > 0) @@ -59,7 +56,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers { return errors; } - var billNumber = OrderNumberGenerator.GenerateOrderNumber("N"); var _entity = new BBAC_CAN_SA(); _entity.SetId(Guid.NewGuid());