From 8fdf2417f49e305bb7f6d0167420e7711ea4f92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8D=E9=94=90?= <1565842059@qq.com> Date: Mon, 10 Aug 2026 17:59:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(swap):=20=E4=BF=AE=E5=A4=8D=E6=97=A5?= =?UTF-8?q?=E7=BB=88=E6=8C=81=E4=BB=93=E9=A3=8E=E9=99=A9=5F=E4=BA=92?= =?UTF-8?q?=E6=8D=A2=20=E5=88=A9=E6=81=AF=E9=87=91=E9=A2=9D=E6=96=B9?= =?UTF-8?q?=E5=90=91=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs b/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs index adb87861..689ee096 100644 --- a/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs +++ b/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs @@ -2341,6 +2341,10 @@ namespace YLErp.Modules.SwapModule if (ConsTrade.InterestMarginModels.Contains(position.InterestMode)) { interestRatio = -interestRatio; + } + else if (position.InterestMode == (int)InterestModeEnum.标的期初全价) + { + return; } position.TdCloseInterest = Math.Abs(position.TdCloseInterest) * interestRatio; position.RealizedInterest = Math.Abs(position.RealizedInterest) * interestRatio;