标签:
if (list.Contains("全部"))
{
model.All = true;
}
var context = GetYWBusinessLogic().ObjectContext;
var result = context.CustomerCommissionerView.Where(t => t.IsSend == 0).ToList();
if (result.Count > 0)
{
if (!model.All)
{
result = result.Where(t => list.Contains(t.StatusName)).ToList();
}
}
标签:
原文地址:http://www.cnblogs.com/hanmian4511/p/4817132.html