c# 集合去重并筛选
(from context in retDataList group context by context.ResourceId into g select g.OrderByDescending(b => b.OperationSum).First()).ToList();
(from context in retDataList group context by context.ResourceId into g select g.OrderByDescending(b => b.OperationSum).First()).ToList();