he2802 3 سال پیش
والد
کامیت
004116e09c

+ 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());