Authored by hugufei

去除无用字段

... ... @@ -115,7 +115,7 @@ public class QueryUserPersionalFactorBean {
List<Integer> recommendSknList = userFactor.getRecommendSknList();
//7、返回最终结果
return new UserPersonalFactor(realTimeSortBrandList, forecastSortBrandList, vectorSortBrandList, sortPriceAreasList, recommendSknList, userFactor.getVector());
return new UserPersonalFactor(realTimeSortBrandList, forecastSortBrandList, vectorSortBrandList, sortPriceAreasList, recommendSknList);
}
private List<SortBrand> getSortBrandListWithSort(Set<String> pageSortBrandKeys,Set<String> filterSortBrandKeys,List<SortBrand> userSortBrands, int maxCount) {
... ...
... ... @@ -13,7 +13,6 @@ public class UserPersonalFactor {
private List<SortBrand> vectorSortBrandList;
private List<SortPriceAreas> sortPriceAreasList;
private List<Integer> recommendSknList;
private String vector;
public UserPersonalFactor (){
this.realTimeSortBrandList = new ArrayList<>();
... ... @@ -21,16 +20,14 @@ public class UserPersonalFactor {
this.vectorSortBrandList = new ArrayList<>();
this.sortPriceAreasList = new ArrayList<>();
this.recommendSknList = new ArrayList<>();
this.vector = "";
}
public UserPersonalFactor(List<SortBrand> realTimeSortBrandList,List<SortBrand> forecastSortBrandList,List<SortBrand> vectorSortBrandList,List<SortPriceAreas> sortPriceAreasList,List<Integer> recommendSknList,String vector) {
public UserPersonalFactor(List<SortBrand> realTimeSortBrandList,List<SortBrand> forecastSortBrandList,List<SortBrand> vectorSortBrandList,List<SortPriceAreas> sortPriceAreasList,List<Integer> recommendSknList) {
this.realTimeSortBrandList = realTimeSortBrandList;
this.forecastSortBrandList = forecastSortBrandList;
this.vectorSortBrandList = vectorSortBrandList;
this.sortPriceAreasList = sortPriceAreasList;
this.recommendSknList = recommendSknList;
this.vector = vector;
}
public List<SortBrand> getRealTimeSortBrandList() {
... ... @@ -53,10 +50,6 @@ public class UserPersonalFactor {
return recommendSknList;
}
public String getVector() {
return vector;
}
public int getRealTimeSortBrandListSize(){
return realTimeSortBrandList==null?0:realTimeSortBrandList.size();
}
... ... @@ -73,7 +66,4 @@ public class UserPersonalFactor {
return sortPriceAreasList==null?0:sortPriceAreasList.size();
}
//realTimeSimilarSknList
}
... ...