From 25626b845ed7f310d6a54b1b891722e560d351f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=94=A6=E9=BA=9F=20=E7=8E=8B?= Date: Thu, 25 Jun 2026 15:38:48 +0800 Subject: [PATCH] =?UTF-8?q?PosiDividendSum=20=E6=89=A3=E9=99=A4=E4=BA=92?= =?UTF-8?q?=E6=8D=A2=E5=88=86=E7=BA=A2=E7=9A=84=E6=97=B6=E5=80=99=E6=96=B9?= =?UTF-8?q?=E5=90=91=E6=9C=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs b/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs index 54d26754..a00e05fb 100644 --- a/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs +++ b/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs @@ -1492,7 +1492,7 @@ namespace YLErp.Modules.SwapModule //BondPaymentService bondPaymentService = new BondPaymentService(UserInfo); //decimal totalPayment = bondPaymentService.CalcPayment(curretEod.UnderlyingCode, td.StartDate.Value, valueDate, td.., shortRatio, directionRatio); //var totalInterest = totalPayment / (1 + tax) * (1 - tax); - var consumedDividend = CalcConsumedDividend(curretEod, unwindEvents); + var consumedDividend = - 1 * CalcConsumedDividend(curretEod, unwindEvents); curretEod.PosiDividendSum = eod.PosiDividendSum - consumedDividend - curretEod.TdCloseDividend; }