...
|
...
|
@@ -54,7 +54,8 @@ public class SearchParam { |
|
|
.setBrandSeries(req.getSeries()).setGender(req.getGender()).setFilterYearMonth(req.getFilterYearMonth())
|
|
|
.setStartTime(req.getStartTime())
|
|
|
.setEndTime(req.getEndTime())
|
|
|
.setContainYoho(req.getContainYoho());
|
|
|
.setContainYoho(req.getContainYoho())
|
|
|
.setRankType(req.getRankType());
|
|
|
return this;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -66,7 +67,8 @@ public class SearchParam { |
|
|
.setFilterYearMonth(req.getFilterYearMonth())
|
|
|
.setStartTime(req.getStartTime())
|
|
|
.setEndTime(req.getEndTime())
|
|
|
.setContainYoho(req.getContainYoho());
|
|
|
.setContainYoho(req.getContainYoho())
|
|
|
.setRankType(req.getRankType());
|
|
|
return this;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -199,14 +201,14 @@ public class SearchParam { |
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
|
|
|
public SearchParam setFilterYearMonth(String yearMonth) {
|
|
|
if (StringUtils.isNotBlank(yearMonth)) {
|
|
|
param.put(SearchConstants.IndexNameConstant.FILTER_YEAR_MONTH, yearMonth);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
|
|
|
public SearchParam setStartTime(Integer startTime) {
|
|
|
if (startTime != null) {
|
|
|
param.put(SearchConstants.IndexNameConstant.START_TIME, startTime);
|
...
|
...
|
@@ -260,6 +262,13 @@ public class SearchParam { |
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public SearchParam setRankType(String rankType) {
|
|
|
if (StringUtils.isNotEmpty(rankType)) {
|
|
|
param.put(SearchConstants.IndexNameConstant.RANK_TYPE, rankType);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public Map<String, Object> getParam() {
|
|
|
return param;
|
|
|
}
|
...
|
...
|
|