黎明前的黑暗
一切不行都是人不行

 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();
                }

             

            }

posted on 2015-09-17 17:48  无厘头的小情绪  阅读(360)  评论(0编辑  收藏  举报