|
@@ -37,8 +37,8 @@ public class CbsMusicScoreServiceImpl implements CbsMusicScoreService {
|
|
|
CbsMusicSheetApplicationExtendClientWrapper.AddMusicSheetApplicationExtend extend =
|
|
|
JSONObject.parseObject(JSONObject.toJSONString(addMusicSheetApplicationExtend), CbsMusicSheetApplicationExtendClientWrapper.AddMusicSheetApplicationExtend.class);
|
|
|
extend.setApplicationId(applicationId);
|
|
|
- if(StringUtils.isNotEmpty(addMusicSheetApplicationExtend.getProviderType())){
|
|
|
- extend.setAvailableType(StringUtils.equals(addMusicSheetApplicationExtend.getProviderType(),"PLATFORM") ? EMusicAvailableType.PLATFORM : EMusicAvailableType.ORG);
|
|
|
+ if(StringUtils.isNotEmpty(addMusicSheetApplicationExtend.getAvailableType())){
|
|
|
+ extend.setAvailableType(StringUtils.equals(addMusicSheetApplicationExtend.getAvailableType(),"PLATFORM") ? EMusicAvailableType.PLATFORM : EMusicAvailableType.ORG);
|
|
|
}
|
|
|
R<JSONObject> jsonObjectR = musicFeignClientService.musicSheetApplicationExtendUpdate(extend);
|
|
|
if (jsonObjectR.getCode() != 200) {
|