摘要: var newList = list.GroupBy(s => s.userId).Select(s => new person { userId = s.Key, weight = s.Sum(s => s.weight),desc=String.Join("、", s.Select(a => a 阅读全文
posted @ 2023-02-17 17:30 明哲保身 阅读(31) 评论(0) 推荐(0) 编辑