Authored by 胡古飞

fix

@@ -82,8 +82,7 @@ public class GoodProductListService implements IGoodProductsService { @@ -82,8 +82,7 @@ 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();
89 searchParam.setFiter(this.getDefaultBoolQueryBuilder()); 88 searchParam.setFiter(this.getDefaultBoolQueryBuilder());
@@ -334,6 +333,7 @@ public class GoodProductListService implements IGoodProductsService { @@ -334,6 +333,7 @@ public class GoodProductListService implements IGoodProductsService {
334 } 333 }
335 } 334 }
336 } 335 }
  336 + Collections.shuffle(recommendedSknList);
337 return recommendedSknList; 337 return recommendedSknList;
338 } 338 }
339 339