Authored by hugufei

去除无用字段

@@ -115,7 +115,7 @@ public class QueryUserPersionalFactorBean { @@ -115,7 +115,7 @@ public class QueryUserPersionalFactorBean {
115 List<Integer> recommendSknList = userFactor.getRecommendSknList(); 115 List<Integer> recommendSknList = userFactor.getRecommendSknList();
116 116
117 //7、返回最终结果 117 //7、返回最终结果
118 - return new UserPersonalFactor(realTimeSortBrandList, forecastSortBrandList, vectorSortBrandList, sortPriceAreasList, recommendSknList, userFactor.getVector()); 118 + return new UserPersonalFactor(realTimeSortBrandList, forecastSortBrandList, vectorSortBrandList, sortPriceAreasList, recommendSknList);
119 } 119 }
120 120
121 private List<SortBrand> getSortBrandListWithSort(Set<String> pageSortBrandKeys,Set<String> filterSortBrandKeys,List<SortBrand> userSortBrands, int maxCount) { 121 private List<SortBrand> getSortBrandListWithSort(Set<String> pageSortBrandKeys,Set<String> filterSortBrandKeys,List<SortBrand> userSortBrands, int maxCount) {
@@ -13,7 +13,6 @@ public class UserPersonalFactor { @@ -13,7 +13,6 @@ public class UserPersonalFactor {
13 private List<SortBrand> vectorSortBrandList; 13 private List<SortBrand> vectorSortBrandList;
14 private List<SortPriceAreas> sortPriceAreasList; 14 private List<SortPriceAreas> sortPriceAreasList;
15 private List<Integer> recommendSknList; 15 private List<Integer> recommendSknList;
16 - private String vector;  
17 16
18 public UserPersonalFactor (){ 17 public UserPersonalFactor (){
19 this.realTimeSortBrandList = new ArrayList<>(); 18 this.realTimeSortBrandList = new ArrayList<>();
@@ -21,16 +20,14 @@ public class UserPersonalFactor { @@ -21,16 +20,14 @@ public class UserPersonalFactor {
21 this.vectorSortBrandList = new ArrayList<>(); 20 this.vectorSortBrandList = new ArrayList<>();
22 this.sortPriceAreasList = new ArrayList<>(); 21 this.sortPriceAreasList = new ArrayList<>();
23 this.recommendSknList = new ArrayList<>(); 22 this.recommendSknList = new ArrayList<>();
24 - this.vector = "";  
25 } 23 }
26 24
27 - public UserPersonalFactor(List<SortBrand> realTimeSortBrandList,List<SortBrand> forecastSortBrandList,List<SortBrand> vectorSortBrandList,List<SortPriceAreas> sortPriceAreasList,List<Integer> recommendSknList,String vector) { 25 + public UserPersonalFactor(List<SortBrand> realTimeSortBrandList,List<SortBrand> forecastSortBrandList,List<SortBrand> vectorSortBrandList,List<SortPriceAreas> sortPriceAreasList,List<Integer> recommendSknList) {
28 this.realTimeSortBrandList = realTimeSortBrandList; 26 this.realTimeSortBrandList = realTimeSortBrandList;
29 this.forecastSortBrandList = forecastSortBrandList; 27 this.forecastSortBrandList = forecastSortBrandList;
30 this.vectorSortBrandList = vectorSortBrandList; 28 this.vectorSortBrandList = vectorSortBrandList;
31 this.sortPriceAreasList = sortPriceAreasList; 29 this.sortPriceAreasList = sortPriceAreasList;
32 this.recommendSknList = recommendSknList; 30 this.recommendSknList = recommendSknList;
33 - this.vector = vector;  
34 } 31 }
35 32
36 public List<SortBrand> getRealTimeSortBrandList() { 33 public List<SortBrand> getRealTimeSortBrandList() {
@@ -53,10 +50,6 @@ public class UserPersonalFactor { @@ -53,10 +50,6 @@ public class UserPersonalFactor {
53 return recommendSknList; 50 return recommendSknList;
54 } 51 }
55 52
56 - public String getVector() {  
57 - return vector;  
58 - }  
59 -  
60 public int getRealTimeSortBrandListSize(){ 53 public int getRealTimeSortBrandListSize(){
61 return realTimeSortBrandList==null?0:realTimeSortBrandList.size(); 54 return realTimeSortBrandList==null?0:realTimeSortBrandList.size();
62 } 55 }
@@ -73,7 +66,4 @@ public class UserPersonalFactor { @@ -73,7 +66,4 @@ public class UserPersonalFactor {
73 return sortPriceAreasList==null?0:sortPriceAreasList.size(); 66 return sortPriceAreasList==null?0:sortPriceAreasList.size();
74 } 67 }
75 68
76 - //realTimeSimilarSknList  
77 -  
78 -  
79 } 69 }