山证bug修复及功能 迁移

This commit is contained in:
吴方海
2024-06-04 18:19:49 +08:00
parent df65cd0add
commit acbd2e7678
39 changed files with 709 additions and 406 deletions
@@ -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("获取不到日终价格");