|
@@ -507,7 +507,7 @@ public class MusicPracticeRecordWrapper {
|
|
|
.sourceTime(record.getSourceTime())
|
|
|
.playTime(record.getPlayTime())
|
|
|
.playRate(record.getPlayRate())
|
|
|
- .speed(String.valueOf(OptionalInt.of(record.getSpeed()).orElse(0)))
|
|
|
+ .speed(record.getSpeed())
|
|
|
.monday(record.getMonday())
|
|
|
.feature(record.getFeature()!=null?record.getFeature().toCbs():null)
|
|
|
.heardLevel(record.getHeardLevel() !=null?record.getHeardLevel().getCode():null)
|
|
@@ -543,7 +543,7 @@ public class MusicPracticeRecordWrapper {
|
|
|
sysMusicCompareRecord.setDeviceType(DeviceTypeEnum.valueOf(this.deviceType));
|
|
|
sysMusicCompareRecord.setSourceTime(this.sourceTime);
|
|
|
sysMusicCompareRecord.setPlayTime(this.playTime);
|
|
|
- sysMusicCompareRecord.setSpeed(this.speed!=null?Integer.parseInt(this.speed):90);
|
|
|
+ sysMusicCompareRecord.setSpeed(this.speed);
|
|
|
sysMusicCompareRecord.setMonday(this.monday);
|
|
|
sysMusicCompareRecord.setFeature(this.feature!=null? FeatureType.format(this.feature):null);
|
|
|
sysMusicCompareRecord.setHeardLevel(this.heardLevel!=null? HeardLevelEnum.valueOf(this.heardLevel):null);
|