Authored by 胡古飞

revert

@@ -82,7 +82,6 @@ public class GoodProductListService implements IGoodProductsService { @@ -82,7 +82,6 @@ public class GoodProductListService implements IGoodProductsService {
82 List<Integer> smallSortIds = this.getProductSknSmallSortIds(paramMap, maxSmallSortCount); 82 List<Integer> smallSortIds = this.getProductSknSmallSortIds(paramMap, maxSmallSortCount);
83 // 3、再每个品类下获取5个SKN[每次随机打乱] 83 // 3、再每个品类下获取5个SKN[每次随机打乱]
84 List<String> recommondSkns = this.getRecommondedSkns(smallSortIds, maxProductSknCountPerSort, paramMap); 84 List<String> recommondSkns = this.getRecommondedSkns(smallSortIds, maxProductSknCountPerSort, paramMap);
85 - Collections.shuffle(recommondSkns);  
86 85
87 // 4、构造搜索参数 86 // 4、构造搜索参数
88 SearchParam searchParam = new SearchParam(); 87 SearchParam searchParam = new SearchParam();
@@ -318,6 +317,7 @@ public class GoodProductListService implements IGoodProductsService { @@ -318,6 +317,7 @@ public class GoodProductListService implements IGoodProductsService {
318 int toIndex = (i + 1) * maxCountPerGroup; 317 int toIndex = (i + 1) * maxCountPerGroup;
319 result.put(i, recommendedSknList.subList(fromIndex, toIndex > maxSize ? maxSize : toIndex)); 318 result.put(i, recommendedSknList.subList(fromIndex, toIndex > maxSize ? maxSize : toIndex));
320 } 319 }
  320 + Collections.shuffle(recommendedSknList);
321 return result; 321 return result;
322 } 322 }
323 323