From 2fb0bdacf44e7b6b245bb96893f5c11988a72c73 Mon Sep 17 00:00:00 2001 From: "zheng.zhang" Date: Wed, 24 Dec 2025 13:38:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E7=A9=BA=E6=8C=87?= =?UTF-8?q?=E9=92=88=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YLErpWeb/Controllers/ExchangeTradeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YLErpWeb/Controllers/ExchangeTradeController.cs b/YLErpWeb/Controllers/ExchangeTradeController.cs index 7b25707c..f705f7d2 100644 --- a/YLErpWeb/Controllers/ExchangeTradeController.cs +++ b/YLErpWeb/Controllers/ExchangeTradeController.cs @@ -273,7 +273,7 @@ namespace YLErp.Web.Controllers var result = new XBondSpread() { bid = 0, ofr = 0 }; try { - result = new XBondSpreadService().GetXBondSpread(_yLCache); + result = new XBondSpreadService().GetXBondSpread(_yLCache) ?? new XBondSpread() { bid = 0, ofr = 0 }; } catch(Exception) {