From 5b9f97df0690350c0797f60d52264132b93ab432 Mon Sep 17 00:00:00 2001 From: hjhan Date: Fri, 13 Feb 2026 16:50:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(swap):=20=E4=BF=AE=E5=A4=8DEOD=E6=8C=81?= =?UTF-8?q?=E4=BB=93=E5=88=A9=E6=81=AF=E6=94=B6=E5=85=A5=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E9=80=BB=E8=BE=91InterestIncomeSum=20TdCloseInterest=20?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E8=80=83=E8=99=91=20ratio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在利息收入总和计算中添加比例因子修正 - 确保TdCloseInterest在计算中正确应用比例 - 保持利息腿损益统计逻辑的一致性 --- 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 5a32fc60..eb0fb1bb 100644 --- a/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs +++ b/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs @@ -873,7 +873,7 @@ namespace YLErp.Modules.SwapModule } else { - newEodPayPosition.InterestIncomeSum = eodPayPosition.InterestIncomeSum + TdInterestAmount - newEodPayPosition.TdCloseInterest; + newEodPayPosition.InterestIncomeSum = eodPayPosition.InterestIncomeSum + TdInterestAmount - newEodPayPosition.TdCloseInterest * ratio; } //持仓内容-利息腿-损益统计(本方视角) newEodPayPosition.TdInterestIncome = TdInterestAmount * (1 - closePercent);