日期:2014-05-17 浏览次数:20544 次
var gcols = (from d in MODEL.PROD.WorkloadStatistics.Dicworkload where d.Value == "通用" select new { title = d.Key, field = d.Key, width = 100 }).ToList(); gcols.AddRange((from d in MODEL.PROD.WorkloadStatistics.Dicworkload where d.Value == works.Type || (works.isbydate && !works.isbyprocess) select new { title = d.Key, field = d.Key, width = 100 }).ToList());