feature:筛选条件增加资产类型、列表显示增加资产类型

This commit is contained in:
马冰冰
2026-08-05 10:58:29 +08:00
parent e8754f1e22
commit 8689e75223
3 changed files with 24 additions and 4 deletions
@@ -257,6 +257,12 @@ namespace YLErp.BLL
predicate = predicate.And(d => typeids.Contains(d.UnderlyingTypeId)); ;
}
if (!string.IsNullOrEmpty(req.UnderlyingInstrumentType))
{
var instrumentTypes = req.UnderlyingInstrumentType.Split(',');
predicate = predicate.And(d => instrumentTypes.Contains(d.UnderlyingInstrumentType));
}
if (!string.IsNullOrEmpty(req.MarketCode))
{
predicate = predicate.And(d => d.MarketCode == req.MarketCode);