标签:list gate sel als select else name 集合 summary
/// <summary> /// 根据ModelId筛选查询出对应的数据 /// </summary> /// <param name="list"></param> /// <param name="ModelId"></param> /// <returns></returns> private List<GetSellerOrdersRealItemsParms> selectList(List<GetSellerOrdersRealItemsParms> list, int ModelId) { if (ModelId != 0) { return list.FindAll(delegate(GetSellerOrdersRealItemsParms info) { if (info.ModelId == ModelId) { return true; } else { return false; } }); } else { return list.FindAll(delegate(GetSellerOrdersRealItemsParms info) { return true; }); } }
标签:list gate sel als select else name 集合 summary
原文地址:https://www.cnblogs.com/caoxiaole/p/12671656.html