|
@@ -2,6 +2,7 @@ package com.yonge.cooleshow.biz.dal.service.impl;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
+import com.baomidou.mybatisplus.core.toolkit.IdWorker;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.dayaedu.cbs.openfeign.client.MusicFeignClientService;
|
|
|
import com.dayaedu.cbs.openfeign.wrapper.music.CbsMusicSheetApplicationExtendClientWrapper;
|
|
@@ -91,10 +92,14 @@ public class MusicSheetAuthRecordServiceImpl extends ServiceImpl<MusicSheetAuthR
|
|
|
CbsMusicSheetWrapper.MusicSheetExtend musicSheetExtend = new CbsMusicSheetWrapper.MusicSheetExtend();
|
|
|
musicSheetExtend.setApplicationId(applicationId);
|
|
|
musicSheetExtend.setUserId(addMusicSheet.getCreateBy());
|
|
|
+ addMusicSheet.setSendAppFlag(true);
|
|
|
addMusicSheet.setMusicSheetExtend(musicSheetExtend);
|
|
|
addMusicSheet.setMusicImg(param.getMusicImg());
|
|
|
addMusicSheet.setMusicFirstImg(param.getMusicFirstImg());
|
|
|
addMusicSheet.setMusicJianImg(param.getMusicJianImg());
|
|
|
+ if(musicSheet.getCbsMusicSheetId() == null){
|
|
|
+ musicSheet.setCbsMusicSheetId(IdWorker.getId());
|
|
|
+ }
|
|
|
addMusicSheet.setId(musicSheet.getCbsMusicSheetId());
|
|
|
musicFeignClientService.musicSheetAdd(addMusicSheet);
|
|
|
}else {
|