|
|
@@ -376,7 +376,7 @@ public class IpadSendServer {
|
|
|
if(setting.getVideoId()!= null){
|
|
|
FsUserCourseVideo video = fsUserCourseVideoMapper.selectFsUserCourseVideoByVideoId( setting.getVideoId().longValue());
|
|
|
if(video != null){
|
|
|
- if(video.getIsOnPut() == 1){
|
|
|
+ if(video.getIsOnPut()!=null && video.getIsOnPut() == 1){
|
|
|
log.warn("SOP_LOG_ID:{}, 视频已下架,不发送", qwSopLogs.getId());
|
|
|
qwSopLogsService.updateQwSopLogsByWatchLogType(qwSopLogs.getId(), "视频已下架,不发送");
|
|
|
return false;
|