|
@@ -926,11 +926,14 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
record.setTitleImg(musicSheetApplication.getMusicCover());
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public void initMusicSheetVos(List<MusicSheetVo> records) {
|
|
|
+ initMusicSheetVos(records,SourceTypeEnum.PLATFORM);
|
|
|
+ }
|
|
|
+
|
|
|
+ public void initMusicSheetVos(List<MusicSheetVo> records,SourceTypeEnum sourceTypeEnum) {
|
|
|
if(CollectionUtils.isNotEmpty(records)){
|
|
|
List<Long> cbsMusicSheetIds = records.stream().map(e -> e.getCbsMusicSheetId()).collect(Collectors.toList());
|
|
|
- CbsMusicSheetWrapper.MusicSheetApplicationQuery query = this.getMusicSheetApplicationQuery();
|
|
|
+ CbsMusicSheetWrapper.MusicSheetApplicationQuery query = this.getMusicSheetApplicationQuery(sourceTypeEnum);
|
|
|
query.setRows(cbsMusicSheetIds.size());
|
|
|
query.setMusicSheetIds(cbsMusicSheetIds);
|
|
|
List<CbsMusicSheetWrapper.MusicSheetApplication> rows = this.queryCbsMusicSheetApplication(query);
|