From f68c5ec62fdd6d8a41da5be286724847e8ba12f2 Mon Sep 17 00:00:00 2001 From: hjhan Date: Thu, 12 Feb 2026 10:06:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(swap):=20=E6=97=A5=E7=BB=88=E6=8C=81?= =?UTF-8?q?=E4=BB=93=20=E6=9C=AC=E6=96=B9=E5=90=88=E7=BA=A6=E5=88=A9?= =?UTF-8?q?=E7=8E=87=E7=AB=AF=E5=AE=9E=E7=8E=B0=E6=94=B6=E7=9B=8A=E6=96=B9?= =?UTF-8?q?=E5=90=91=20=E5=92=8C=20=E6=97=A5=E7=BB=88=E4=BC=B0=E5=80=BC?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=20=E4=B8=AD=E7=9A=84=20=E5=AF=B9=E5=AE=A2?= =?UTF-8?q?=E8=A7=86=E8=A7=92=20=E5=88=A9=E7=8E=87=E6=94=B6=E7=9B=8A?= =?UTF-8?q?=E9=87=91=E9=A2=9D=20=E7=9A=84=20=E6=96=B9=E5=90=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= 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 b1e81299..bb3f5a3b 100644 --- a/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs +++ b/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs @@ -1940,7 +1940,7 @@ namespace YLErp.Modules.SwapModule item.OpenMarginAmount = margins.Sum(s => s.InterestPrincipalFix * (s.InterestDirection == (int)SwapDirectionEnum.收取 ? 1 : -1)); item.OpenMarginRate = margins.Sum(s => s.InterestRateDefault * (s.InterestDirection == (int)SwapDirectionEnum.收取 ? 1 : -1)); item.MarginInterestAmount = eodMargins.Sum(s => s.InterestIncomeSum * (s.InterestDirection == (int)SwapDirectionEnum.收取 ? 1 : -1)); - item.InterestAmount = eodInterests.Sum(s => s.InterestIncomeSum * (s.InterestDirection == (int)SwapDirectionEnum.收取 ? -1 : 1)); + item.InterestAmount = eodInterests.Sum(s => s.InterestIncomeSum * (s.InterestDirection == (int)SwapDirectionEnum.收取 ? 1 : -1)); item.InterestRate = eodInterests.Sum(s => s.InterestRateDefault); item.NetSettmentAmount += item.InterestAmount + item.MarginInterestAmount + eodMargins.Sum(s => s.InterestPrincipalFix * (s.InterestDirection == (int)SwapDirectionEnum.收取 ? 1 : -1)); item.NetSettmentAmount = Math.Round(item.NetSettmentAmount, ConsGlobal.MoneyRound, MidpointRounding.AwayFromZero);