From d877965b9d29042c0f6978d1154febdb75d4f3b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=94=A6=E9=BA=9F=20=E7=8E=8B?= <2452821485@qq.com> Date: Tue, 29 Apr 2025 15:34:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9F=BA=E6=9C=AC=E8=B4=B9?= =?UTF-8?q?=E7=8E=87=E8=AE=A1=E7=AE=97=E5=85=AC=E5=BC=8F=EF=BC=8C=E7=99=BE?= =?UTF-8?q?=E5=88=86=E6=AF=94=E5=B1=95=E7=A4=BA=E4=B9=98100?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DocumentGenerator/TradeConfirmationGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/YLErp.Plugins.ZheShang/DocumentGenerator/TradeConfirmationGenerator.cs b/Plugins/YLErp.Plugins.ZheShang/DocumentGenerator/TradeConfirmationGenerator.cs index 37811ae1..0770cfc8 100644 --- a/Plugins/YLErp.Plugins.ZheShang/DocumentGenerator/TradeConfirmationGenerator.cs +++ b/Plugins/YLErp.Plugins.ZheShang/DocumentGenerator/TradeConfirmationGenerator.cs @@ -142,7 +142,7 @@ namespace YLErp.Plugins.ShanXi.DocumentGenerator dic["到期日期"] = trade.ExerciseDate?.ToString("yyyy年M月d日"); bool posiLong = swapPosition?.PositionType == (int)PositionTypeFlag.Short ? false : true; var interestRate = interestMargin?.InterestRateDefault * 100 ?? 0; - var basicFee = (trade.OriginalStockEqvNotional ?? 0) == 0 ? 0 : ((double)((swapPosition?.PosiTradingFeePending) ?? 0) / (trade.OriginalStockEqvNotional ?? 0)) * 1000; + var basicFee = (trade.OriginalStockEqvNotional ?? 0) == 0 ? 0 : ((double)((swapPosition?.PosiTradingFeePending) ?? 0) / (trade.OriginalStockEqvNotional ?? 0)) * 100; dic["基本费率"] = (basicFee * 2).ToString("f4"); dic["交易费用"] = (double)((swapPosition?.PosiTradingFeePending * 2) ?? 0); dic["多头约定利率"] = "不适用";