|
@@ -483,6 +483,8 @@ public class MusicPracticeRecordWrapper {
|
|
private Boolean delFlag;
|
|
private Boolean delFlag;
|
|
|
|
|
|
|
|
|
|
|
|
+ @ApiModelProperty("是否隐藏评测记录 0:不隐藏 1:隐藏")
|
|
|
|
+ private Boolean hiddenFlag;
|
|
@ApiModelProperty("曲目评测来源 TENANT 机构 PLATFORM 平台")
|
|
@ApiModelProperty("曲目评测来源 TENANT 机构 PLATFORM 平台")
|
|
private String providerType;
|
|
private String providerType;
|
|
|
|
|
|
@@ -507,7 +509,7 @@ public class MusicPracticeRecordWrapper {
|
|
.sourceTime(record.getSourceTime())
|
|
.sourceTime(record.getSourceTime())
|
|
.playTime(record.getPlayTime())
|
|
.playTime(record.getPlayTime())
|
|
.playRate(record.getPlayRate())
|
|
.playRate(record.getPlayRate())
|
|
- .speed(String.valueOf(OptionalInt.of(record.getSpeed()).orElse(0)))
|
|
|
|
|
|
+ .speed(record.getSpeed())
|
|
.monday(record.getMonday())
|
|
.monday(record.getMonday())
|
|
.feature(record.getFeature()!=null?record.getFeature().toCbs():null)
|
|
.feature(record.getFeature()!=null?record.getFeature().toCbs():null)
|
|
.heardLevel(record.getHeardLevel() !=null?record.getHeardLevel().getCode():null)
|
|
.heardLevel(record.getHeardLevel() !=null?record.getHeardLevel().getCode():null)
|
|
@@ -521,6 +523,7 @@ public class MusicPracticeRecordWrapper {
|
|
.updateTime(record.getCreateTime())
|
|
.updateTime(record.getCreateTime())
|
|
.createTime(record.getCreateTime())
|
|
.createTime(record.getCreateTime())
|
|
.delFlag(record.getDelFlag())
|
|
.delFlag(record.getDelFlag())
|
|
|
|
+ .hiddenFlag(record.getHiddenFlag())
|
|
.providerType(record.getProviderType())
|
|
.providerType(record.getProviderType())
|
|
.build();
|
|
.build();
|
|
}
|
|
}
|
|
@@ -543,7 +546,7 @@ public class MusicPracticeRecordWrapper {
|
|
sysMusicCompareRecord.setDeviceType(DeviceTypeEnum.valueOf(this.deviceType));
|
|
sysMusicCompareRecord.setDeviceType(DeviceTypeEnum.valueOf(this.deviceType));
|
|
sysMusicCompareRecord.setSourceTime(this.sourceTime);
|
|
sysMusicCompareRecord.setSourceTime(this.sourceTime);
|
|
sysMusicCompareRecord.setPlayTime(this.playTime);
|
|
sysMusicCompareRecord.setPlayTime(this.playTime);
|
|
- sysMusicCompareRecord.setSpeed(this.speed!=null?Integer.parseInt(this.speed):90);
|
|
|
|
|
|
+ sysMusicCompareRecord.setSpeed(this.speed);
|
|
sysMusicCompareRecord.setMonday(this.monday);
|
|
sysMusicCompareRecord.setMonday(this.monday);
|
|
sysMusicCompareRecord.setFeature(this.feature!=null? FeatureType.format(this.feature):null);
|
|
sysMusicCompareRecord.setFeature(this.feature!=null? FeatureType.format(this.feature):null);
|
|
sysMusicCompareRecord.setHeardLevel(this.heardLevel!=null? HeardLevelEnum.valueOf(this.heardLevel):null);
|
|
sysMusicCompareRecord.setHeardLevel(this.heardLevel!=null? HeardLevelEnum.valueOf(this.heardLevel):null);
|
|
@@ -558,6 +561,7 @@ public class MusicPracticeRecordWrapper {
|
|
sysMusicCompareRecord.setDelFlag(this.delFlag);
|
|
sysMusicCompareRecord.setDelFlag(this.delFlag);
|
|
sysMusicCompareRecord.setPlayRate(this.playRate);
|
|
sysMusicCompareRecord.setPlayRate(this.playRate);
|
|
sysMusicCompareRecord.setProviderType(this.providerType ==null?"PLATFORM":this.providerType);
|
|
sysMusicCompareRecord.setProviderType(this.providerType ==null?"PLATFORM":this.providerType);
|
|
|
|
+ sysMusicCompareRecord.setHiddenFlag(this.hiddenFlag);
|
|
|
|
|
|
return sysMusicCompareRecord;
|
|
return sysMusicCompareRecord;
|
|
|
|
|