字段类型修复

This commit is contained in:
吴方海
2025-04-23 16:34:27 +08:00
parent 4526b49c52
commit fe40fa7c7d
2 changed files with 5 additions and 5 deletions
@@ -153,6 +153,6 @@ namespace YLErp.DBModels
/// <summary>
/// 聚源id
/// </summary>
public string JSID { get; set; }
public long? JSID { get; set; }
}
}
@@ -74,7 +74,7 @@ namespace YLErp.Modules.EodModule
DeciClosePrice=0,
DeciSettlePrice = 0,
DeciReferencePrice=0,
JSID = ""
JSID = null
};
var query2 = from un in queryUn
@@ -101,7 +101,7 @@ namespace YLErp.Modules.EodModule
DeciClosePrice = 0,
DeciSettlePrice = 0,
DeciReferencePrice = 0,
JSID=""
JSID=null
};
var query3 = from un in queryUn
join bondClose in DbContext.china_bond_valuation.Where(predicatEob) on un.UnderlyingCode equals bondClose.bond_id
@@ -145,7 +145,7 @@ namespace YLErp.Modules.EodModule
item.SettlePrice=Convert.ToDouble(item.DeciSettlePrice);
item.ClosePrice = Convert.ToDouble(item.DeciClosePrice);
item.ReferencePrice = Convert.ToDouble(item.DeciReferencePrice);
if (!string.IsNullOrEmpty(item.JSID))
if (item.JSID.HasValue)
{
item.DataSource = "系统";
}
@@ -337,6 +337,6 @@ namespace YLErp.Modules.EodModule
public bool IsBond { get; set; }
public string JSID { get; set; }
public long? JSID { get; set; }
}
}