Browse Source

1

GOIAggregation
shanji 2 years ago
parent
commit
8363fb5ed1
  1. 5
      SiNan.Business/AggregationBusiness.cs

5
SiNan.Business/AggregationBusiness.cs

@ -98,11 +98,10 @@ namespace SiNan.Business
.ToList();
var i = 0;
var spuGroups = from s in spuIdList
var spuGroups = (from s in spuIdList
let num = i++
group s by num / 10 into g
select g.ToArray(); //10个spu为一组
select g.ToArray()).ToList(); //10个spu为一组
var spuGroupCount = spuGroups.Count();
var spuGroupIndex = 0;

Loading…
Cancel
Save