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}的结算价或收盘价未找到!"); }