...
|
...
|
@@ -17,6 +17,9 @@ public class SortBrandVectorComponent { |
|
|
private SortBrandVectorCacheBean sortBrandVectorCacheBean;
|
|
|
|
|
|
public List<SortBrand> queryVectorSortBrandList(List<SortBrand> pageSortBrands,Set<String> filterKeys, List<Double> userVectorList, int count){
|
|
|
if(userVectorList==null || userVectorList.isEmpty()){
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
List<SortBrandVectorScore> sortBrandVectorScores = new ArrayList<>();
|
|
|
for (SortBrand sortBrand:pageSortBrands) {
|
|
|
if(filterKeys.contains(sortBrand.key())){
|
...
|
...
|
|