刘俊驰 5 months ago
parent
commit
a0f56098f4

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

@@ -386,6 +386,7 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
                     if (albumMusicRelate != null) {
                         record.setAlbumCategoryLevelId(albumMusicRelate.getAlbumCategoryLevelId());
                         record.setAlbumCategoryTypeId(albumMusicRelate.getAlbumCategoryTypeId());
+                        record.setAlbumSortNumber(albumMusicRelate.getSortNumber());
                     }
                 }
             }

+ 0 - 1
cooleshow-user/user-biz/src/main/resources/config/mybatis/MusicSheetMapper.xml

@@ -326,7 +326,6 @@
             where find_in_set(mt.id_,t.music_tag_) and mt.del_flag_ = 0  and mt.state_ = 1) as musicTagNames
         ,(select group_concat(s.name_) from subject s
             where find_in_set(s.id_,t.music_subject_) and s.del_flag_ = 0 ) as subjectNames
-        ,amr.sort_number_ as albumSortNumber
         from music_sheet t
         left join album_music_relate amr on t.id_ = amr.music_sheet_id_
         left join sys_user su on t.create_by_ = su.id_