|
@@ -94,9 +94,10 @@ public class SysMusicScoreAccompanimentServiceImpl extends BaseServiceImpl<Integ
|
|
|
throw new BizException("曲目原音信息不存在,曲目ID:" + accompaniment.getCbsMusicSheetId());
|
|
|
}
|
|
|
List<SysMusicScoreAccompaniment> childAccompaniments = new ArrayList<>();
|
|
|
+ int num = 1;
|
|
|
for (int i = 0; i < musicSheetApplication.getMusicSheetSoundList().size(); i++) {
|
|
|
SysMusicScoreAccompaniment record = new SysMusicScoreAccompaniment();
|
|
|
-// record.setId(accompaniment.getId());
|
|
|
+ record.setId(num++);
|
|
|
record.setType(accompaniment.getType());
|
|
|
record.setRankIds("FREE".equals(musicSheetApplication.getPaymentType()) ? null : "1");
|
|
|
record.setClientType(accompaniment.getClientType());
|