|
@@ -2164,6 +2164,10 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
musicSheetAudit.setTitleImg(addMusicSheet.getMusicCover());
|
|
|
musicSheetAudit.setExtConfigJson(addMusicSheet.getExtConfigJson());
|
|
|
musicSheetAudit.setRemark(addMusicSheet.getRemark());
|
|
|
+ if (CollectionUtils.isNotEmpty(addMusicSheet.getAddMusicSheetApplicationExtend())) {
|
|
|
+ EDefaultScoreType scoreType = addMusicSheet.getAddMusicSheetApplicationExtend().get(0).getScoreType();
|
|
|
+ musicSheetAudit.setScoreType(scoreType!=null?scoreType.name():EDefaultScoreType.STAVE.getCode());
|
|
|
+ }
|
|
|
if(addMusicSheet.getAudioType() != null){
|
|
|
musicSheetAudit.setAccompanimentType(AccompanimentTypeEnum.valueOf(addMusicSheet.getAudioType().getCode()));
|
|
|
}
|
|
@@ -2281,6 +2285,9 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
musicSheetAudit.setPaymentType(applicationExtend.getPaymentType());
|
|
|
musicSheetAudit.setChargeType(ChargeTypeEnum.valueOf(applicationExtend.getPaymentType()));
|
|
|
}
|
|
|
+
|
|
|
+ EDefaultScoreType scoreType = addMusicSheet.getAddMusicSheetApplicationExtend().get(0).getScoreType();
|
|
|
+ musicSheetAudit.setScoreType(scoreType!=null?scoreType.name():EDefaultScoreType.STAVE.getCode());
|
|
|
if(applicationExtend.getTopFlag() != null){
|
|
|
musicSheetAudit.setTopFlag(applicationExtend.getTopFlag()? YesOrNoEnum.YES: YesOrNoEnum.NO);
|
|
|
}
|
|
@@ -2376,6 +2383,9 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
musicSheetAudit.setPaymentType(applicationExtend.getPaymentType());
|
|
|
musicSheetAudit.setChargeType(ChargeTypeEnum.valueOf(applicationExtend.getPaymentType()));
|
|
|
}
|
|
|
+
|
|
|
+ EDefaultScoreType scoreType = addMusicSheet.getAddMusicSheetApplicationExtend().get(0).getScoreType();
|
|
|
+ musicSheetAudit.setScoreType(scoreType!=null?scoreType.name():EDefaultScoreType.STAVE.getCode());
|
|
|
if(applicationExtend.getTopFlag() != null){
|
|
|
musicSheetAudit.setTopFlag(applicationExtend.getTopFlag()? YesOrNoEnum.YES: YesOrNoEnum.NO);
|
|
|
}
|