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