소스 검색

fix 直播

he2802 3 년 전
부모
커밋
004116e09c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-system/src/main/java/com/zhongzheng/modules/schedule/service/impl/ScheduleServiceImpl.java

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/schedule/service/impl/ScheduleServiceImpl.java

@@ -1192,7 +1192,7 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
             queryBo1.setChannelId(vo.getLiveUrl());
             queryBo1.setSessionId(vo.getSessionId());
             LiveListChannelVideoLibraryResponse.ChannelVideoLibrary channelVideoLibrary = iPolyvLiveService.ListChannelVideoLibrary(queryBo1);
-            if(Validator.isNotEmpty(channelVideoLibrary.getVideoPoolId())){
+            if(Validator.isNotEmpty(channelVideoLibrary)){
                 vo.setRecordingUrl(channelVideoLibrary.getVideoPoolId());
                 CourseSection section = BeanUtil.toBean(vo, CourseSection.class);
                 section.setUpdateTime(DateUtils.getNowTime());