日期:2014-05-20 浏览次数:20760 次
Name From To 仓位 返点
3U HGH TYN L 14.9
3U HGH TYN Q 14.9
3U HGH TYN E 14.9
3U HGH TYN V 14.9
EU TSN CGQ Y 0.0
EU TSN CGQ T 0.0
EU TSN CGQ H 0.0
EU TSN CGQ M 0.0
var q= db.YourTable.GroupBy(x=>new {x.Name,x.From,x.To,x.仓位})
.Select(g=>new {g.Key.Name,g.Key.From,g.Key.To,g.Key.仓位,top=g.Max(s=>s.返点)});