From e1df4ded13c727e45f3f03dc1339101ffe63f081 Mon Sep 17 00:00:00 2001 From: hjhan Date: Tue, 14 Jul 2026 11:32:41 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20FR007=20ReferencePrice=20=E5=B0=8F?= =?UTF-8?q?=E6=95=B0=E5=8F=A3=E5=BE=84=E6=B3=A8=E9=87=8A=EF=BC=88=E5=88=A9?= =?UTF-8?q?=E6=81=AF=E8=85=BF=E8=AE=A1=E7=AE=97=E6=97=A0=E9=9C=80=E5=86=8D?= =?UTF-8?q?=20=C3=B7100=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit EodPriceQueryService.TryGetPrice 读取 eod_commodity_future_price.ReferencePrice 作为 FR007 浮动利率参与利息计算。说明该行 ReferencePrice 无论 bond-sync 自动 同步还是界面手工录入,写入时均已 ÷100 为小数口径,利息腿计算直接作为 floatRate 参与 principal*(fixedRate+floatRate)/annualDays,无需在计算侧再次 ÷100。 --- YLErpDAL/Modules/DataProviderModule/EodPriceQueryService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/YLErpDAL/Modules/DataProviderModule/EodPriceQueryService.cs b/YLErpDAL/Modules/DataProviderModule/EodPriceQueryService.cs index 02e7787b..c660b0c6 100644 --- a/YLErpDAL/Modules/DataProviderModule/EodPriceQueryService.cs +++ b/YLErpDAL/Modules/DataProviderModule/EodPriceQueryService.cs @@ -137,6 +137,8 @@ namespace YLErp.Modules.DataProviderModule if (data != null) { + // FR007 行 ReferencePrice 已是小数口径(无论 bond-sync 自动同步还是界面手工录入,写入时均已 ÷100), + // 利息腿计算直接作为 floatRate 参与 principal*(fixedRate+floatRate)/annualDays,无需再 ÷100。 price = data.ReferencePrice ?? 0; return true;