feature:筛选条件增加资产类型、列表显示增加资产类型
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user