|
@@ -26,6 +26,7 @@ import com.yonge.toolset.thirdparty.message.MessageSenderPluginContext;
|
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.util.StringUtils;
|
|
@@ -55,6 +56,9 @@ public class MusicSheetAuthRecordServiceImpl extends ServiceImpl<MusicSheetAuthR
|
|
|
@Resource
|
|
|
private MusicSheetAccompanimentService musicSheetAccompanimentService;
|
|
|
|
|
|
+ @Value("${openfeign-client.app-id:1745637981387108354}")
|
|
|
+ public Long applicationId;
|
|
|
+
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public void audit(TeacherMusicSheetAuditReq param, Long userId) {
|
|
@@ -84,6 +88,10 @@ public class MusicSheetAuthRecordServiceImpl extends ServiceImpl<MusicSheetAuthR
|
|
|
|
|
|
String musicSheetJson = musicSheetAuthRecord.getMusicSheetJson();
|
|
|
CbsMusicSheetWrapper.AddMusicSheet addMusicSheet = JSON.parseObject(musicSheetJson, CbsMusicSheetWrapper.AddMusicSheet.class);
|
|
|
+ CbsMusicSheetWrapper.MusicSheetExtend musicSheetExtend = new CbsMusicSheetWrapper.MusicSheetExtend();
|
|
|
+ musicSheetExtend.setApplicationId(applicationId);
|
|
|
+ musicSheetExtend.setUserId(addMusicSheet.getCreateBy());
|
|
|
+ addMusicSheet.setMusicSheetExtend(musicSheetExtend);
|
|
|
addMusicSheet.setMusicImg(param.getMusicImg());
|
|
|
addMusicSheet.setMusicFirstImg(param.getMusicFirstImg());
|
|
|
addMusicSheet.setMusicJianImg(param.getMusicJianImg());
|