From 1c1a2179b2de8f0b7e0589e27bd88a73d4d3c18d Mon Sep 17 00:00:00 2001 From: dyy <807692433@qq.com> Date: Tue, 8 Oct 2024 09:49:46 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E7=94=9F?= =?UTF-8?q?=E6=88=90=E5=AD=A6=E7=94=9F=E5=B9=B4=E5=BA=A6=E7=BC=B4=E8=B4=B9?= =?UTF-8?q?=E5=AE=8C=E5=96=84=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FinaChargeStuYear/FinaChargeStuYearService.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuYear/FinaChargeStuYearService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuYear/FinaChargeStuYearService.cs index 5f723c8c6..5042aab49 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuYear/FinaChargeStuYearService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuYear/FinaChargeStuYearService.cs @@ -365,7 +365,12 @@ namespace Learun.Application.TwoDevelopment.ReceiveSendFeeManagement db.Insert(finaChargeStuYearItem); } if (oldFinaChargeStuYearItemList.Where(m => m.FSYId == oldFinaChargeStuYearEntity.FSYId).Sum(m => m.SJAmount) > 0) - oldFinaChargeStuYearEntity.PayFeeStatus = 4; + { + if (needinsertchargeitem.Any()) + { + oldFinaChargeStuYearEntity.PayFeeStatus = 4; + } + } else { oldFinaChargeStuYearEntity.PayFeeStatus = 0;