From 3c895a2bd7c27f7079ae93cbeebc7f66cd12c877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=96=B9=E6=B5=B7?= Date: Tue, 2 Jun 2026 14:17:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YLErpDAL/Modules/SwapModule/SwapDealService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/YLErpDAL/Modules/SwapModule/SwapDealService.cs b/YLErpDAL/Modules/SwapModule/SwapDealService.cs index 23a7a908..63b37584 100644 --- a/YLErpDAL/Modules/SwapModule/SwapDealService.cs +++ b/YLErpDAL/Modules/SwapModule/SwapDealService.cs @@ -690,8 +690,8 @@ namespace YLErp.Modules.SwapModule var startDate = position.PosiStartDate; decimal interestProfitSum = 0; decimal TdInterestPrincipal = 0; - decimal interest = interestProfitSum * closePercent; - decimal tdinterest = interestProfitSum * closePercent; + decimal interest = interestProfitSum ; + decimal tdinterest = interestProfitSum ; int interestPeriod = position.interest_rest_days ?? 1; // 复利:只能用要平仓的名义本金从头开始算 decimal dynomicPrincipal = principal;