Browse Source

曲目列表返回原音信息

zouxuan 2 months ago
parent
commit
e42c2a4ae8

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

@@ -153,6 +153,11 @@ public class TenantAlbumMusicServiceImpl extends ServiceImpl<TenantAlbumMusicMap
                 if (sheetApplication != null) {
                     m.setMusicSubjectName(sheetApplication.getSubjectNames());
                     m.setTitleImg(sheetApplication.getMusicCover());
+                    m.setXmlFileUrl(sheetApplication.getXmlFileUrl());
+                    m.setMusicImg(sheetApplication.getMusicImg());
+                    m.setFirstTone(sheetApplication.getMusicFirstImg());
+                    m.setFixedTone(sheetApplication.getMusicJianImg());
+
                     // 设置曲目原音
                     List<CbsMusicSheetWrapper.MusicSheetSound> soundList = sheetApplication.getMusicSheetSoundList();
                     if (CollectionUtils.isNotEmpty(soundList)) {

+ 12 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/wrapper/TenantAlbumMusicWrapper.java

@@ -225,6 +225,18 @@ public class TenantAlbumMusicWrapper {
         @ApiModelProperty(value = "精品标志")
         private String exquisiteFlag;
 
+        @ApiModelProperty(value = "xml")
+        private String xmlFileUrl;
+
+        @ApiModelProperty("曲目图片")
+        private String musicImg;
+
+        @ApiModelProperty("首调")
+        private String firstTone;
+
+        @ApiModelProperty("固定调")
+        private String fixedTone;
+
         @ApiModelProperty(value = "曲谱名称")
         private String musicSheetName;