|
@@ -15,6 +15,7 @@ import org.apache.commons.collections.CollectionUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
+import java.util.Optional;
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -84,6 +85,9 @@ public class MusicSheetSearch extends QueryInfo{
|
|
@ApiModelProperty("TOP:推荐曲目 NEW:最新曲目 HOT:最热曲目")
|
|
@ApiModelProperty("TOP:推荐曲目 NEW:最新曲目 HOT:最热曲目")
|
|
private MusicSortType musicSortType;
|
|
private MusicSortType musicSortType;
|
|
|
|
|
|
|
|
+ @ApiModelProperty("数据恢复")
|
|
|
|
+ private String dataRecovery;
|
|
|
|
+
|
|
public MusicSortType getMusicSortType() {
|
|
public MusicSortType getMusicSortType() {
|
|
return musicSortType;
|
|
return musicSortType;
|
|
}
|
|
}
|
|
@@ -247,4 +251,12 @@ public class MusicSheetSearch extends QueryInfo{
|
|
public void setActivityId(Long activityId) {
|
|
public void setActivityId(Long activityId) {
|
|
this.activityId = activityId;
|
|
this.activityId = activityId;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public String getDataRecovery() {
|
|
|
|
+ return Optional.ofNullable(dataRecovery).filter(StringUtils::isNotBlank).orElse(null);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setDataRecovery(String dataRecovery) {
|
|
|
|
+ this.dataRecovery = dataRecovery;
|
|
|
|
+ }
|
|
}
|
|
}
|