山证bug修复及功能 迁移
This commit is contained in:
@@ -290,7 +290,6 @@ namespace YLErp.Web.Controllers
|
||||
}
|
||||
if (data.IsBond())
|
||||
{
|
||||
valuedate = QdpCalendarHelper.GetNonHolidayDefore(valuedate.Value.AddDays(-1));
|
||||
//系统日期当天优先取日终价格如果取不到则使用行情价格
|
||||
if (EodPriceQueryService.TryGetBondEodPrice(valuedate.Value, code, out var eodPrice))
|
||||
{
|
||||
@@ -310,7 +309,7 @@ namespace YLErp.Web.Controllers
|
||||
price = eodPrice.GetPrice((SettlementTypeEnum)settlementType);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (valuedate != systemDate)
|
||||
{
|
||||
return JsonError("获取不到日终价格");
|
||||
|
||||
Reference in New Issue
Block a user