From 6424b380014e02ff71d2039c39a215974a7750fd Mon Sep 17 00:00:00 2001 From: hjhan Date: Thu, 16 Jul 2026 14:56:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=9C=9F=E6=9D=83=E5=88=B0=E6=9C=9F):=20ch?= =?UTF-8?q?eckEodPrice=20=E5=89=8D=E7=BD=AE=E6=A0=A1=E9=AA=8C=E6=94=B9?= =?UTF-8?q?=E7=94=A8=E5=80=BA=E5=88=B8=E6=84=9F=E7=9F=A5=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E5=8F=96=E4=BB=B7=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - trade_cashController.checkEodPrice 是前端'执行到期'按钮的前置 gate, 原用 EodPriceQueryService.TryGetEodPrice(仅查期货+股票两表), 债券标的(如 GLMS-20260715-0002 / 180011.IB)必然取不到价而报 '交易日{date}的结算价或收盘价未找到',挡在 tradeExpireConfirm 之前, 导致层1 对 tradeExpireInner/MultipleTradeExpireConfirm 的修复被绕过。 - 改为与层1 一致的 EodPriceQueryService.TryGetSettlementEodPrice (债券走中债估值、期货/股票走原路径),三处到期取价口径统一。 --- YLErpWeb/Controllers/trade_cashController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YLErpWeb/Controllers/trade_cashController.cs b/YLErpWeb/Controllers/trade_cashController.cs index b2730b8c..44106885 100644 --- a/YLErpWeb/Controllers/trade_cashController.cs +++ b/YLErpWeb/Controllers/trade_cashController.cs @@ -148,7 +148,7 @@ namespace YLErp.Web.Controllers { valueDate = QdpCalendarHelper.GetNonHolidayDefore(valueDate); } - if (!EodPriceQueryService.TryGetEodPrice(valueDate, td.UnderlyingCode, out _)) + if (!EodPriceQueryService.TryGetSettlementEodPrice(valueDate, td.UnderlyingCode, out _)) { return JsonError($"交易日{valueDate:yyyy-MM-dd}的结算价或收盘价未找到!"); }