From 6679abbc19a4a9825c4a7b5187fe9f4baab8c7da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8D=E9=94=90?= <1565842059@qq.com> Date: Fri, 10 Jul 2026 12:32:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(document):=20=E4=BF=AE=E6=AD=A3=E7=A5=A8?= =?UTF-8?q?=E9=9D=A2=E5=88=A9=E7=8E=87=E8=AE=A1=E7=AE=97=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复票面利率显示错误问题,将数值乘以100转换为百分比格式 - 确保票面利率正确显示为百分比数值而非小数形式 --- .../DocumentGenerator/TradeConfirmationGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/YLErp.Plugins.GuoLian/DocumentGenerator/TradeConfirmationGenerator.cs b/Plugins/YLErp.Plugins.GuoLian/DocumentGenerator/TradeConfirmationGenerator.cs index 81aa0587..1aeed0a5 100644 --- a/Plugins/YLErp.Plugins.GuoLian/DocumentGenerator/TradeConfirmationGenerator.cs +++ b/Plugins/YLErp.Plugins.GuoLian/DocumentGenerator/TradeConfirmationGenerator.cs @@ -222,7 +222,7 @@ namespace YLErp.Plugins.GuoLian.DocumentGenerator var bond = JsonHelper.Deserialize(underlying.ExJson) ?? new UnderlyingBond(); dic["参考标的发行人"] = bond.UnderlyingIssuer ?? ""; dic["参考标的担保人"] = ""; - dic["票面利率"] = ((double)(bond.CouponRate ?? 0)).ToString("0.00"); + dic["票面利率"] = ((double)(bond.CouponRate ?? 0) * 100).ToString("0.00"); dic["参考标的到期日"] = underlying.MaturityDate?.ToString("【yyyy】年【M】月【d】日") ?? ""; }