Bladeren bron

酷乐秀曲目来源改为内容平台

zouxuan 1 jaar geleden
bovenliggende
commit
75395835dd

+ 5 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/MusicSheetAuthRecordServiceImpl.java

@@ -93,6 +93,7 @@ public class MusicSheetAuthRecordServiceImpl extends ServiceImpl<MusicSheetAuthR
         addMusicSheet.setIsUseSystemBeat(param.getHasBeat()!=YesOrNoEnum.YES);
         addMusicSheet.setIsShowFingering(param.getShowFingering()==YesOrNoEnum.YES);
         addMusicSheet.setIsConvertibleScore(param.getNotation()==YesOrNoEnum.YES);
+        addMusicSheet.setExtConfigJson(param.getExtConfigJson());
         musicSheetAuthRecord.setMusicSheetJson(JSON.toJSONString(addMusicSheet));
         MusicSheet musicSheet = musicSheetService.getById(musicSheetAuthRecord.getMusicSheetId());
         if (musicSheet == null) {
@@ -283,7 +284,11 @@ public class MusicSheetAuthRecordServiceImpl extends ServiceImpl<MusicSheetAuthR
     public List<MusicSheetWrapper.MusicSheetDetailVo> auditDetailList(String batchNo) {
         List<MusicSheetWrapper.MusicSheetDetailVo> sheetDetailVos = musicSheetService.getDao().auditDetailList(null, batchNo);
         if (CollectionUtils.isNotEmpty(sheetDetailVos)) {
+            String userName = sheetDetailVos.get(0).getUserName();
+            String realName = sheetDetailVos.get(0).getRealName();
             for (MusicSheetWrapper.MusicSheetDetailVo sheetDetailVo : sheetDetailVos) {
+                sheetDetailVo.setUserName(userName);
+                sheetDetailVo.setRealName(realName);
                 String musicSheetJson = sheetDetailVo.getMusicSheetJson();
                 if(StringUtils.isNotEmpty(musicSheetJson)){
                     CbsMusicSheetWrapper.AddMusicSheet addMusicSheet = JSON.parseObject(musicSheetJson, CbsMusicSheetWrapper.AddMusicSheet.class);