From 0458654c9435f08705188598c4b55b124431a611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Tue, 18 Jul 2023 09:31:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entities/BQ/INVOICE_SERVICE.cs | 2 +- .../Entities/BQ/Managers/CAN_SA_MNG.cs | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs index 9e3ef810..37157b6d 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs @@ -64,8 +64,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ [HttpPost] public virtual async Task ApprovalPassed(INVOICE_GRP_REQ_DTO input) { - return string.Empty; + return string.Empty; } [HttpPost] diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/CAN_SA_MNG.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/CAN_SA_MNG.cs index 72e4e8b0..4378dc89 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/CAN_SA_MNG.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/CAN_SA_MNG.cs @@ -109,9 +109,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers public virtual async Task SetNewState(TEntity p_entiy) { - p_entiy.State = SettleBillState.未结状态; - await _repository.UpdateAsync(p_entiy); - return true; + await SetNewState(p_entiy.BillNum); + + return await SetNewState(p_entiy.BillNum); } public virtual async Task SetNewState(string billNUm) @@ -126,6 +126,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers await _repository.DbContext.BulkReadAsync(ls); return true; } + public virtual }