|
|
@@ -3045,7 +3045,7 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
}
|
|
|
|
|
|
|
|
|
- if (videoDuration==null){
|
|
|
+ if (videoDuration==null && videoDuration == 0L){
|
|
|
FsUserCourseVideo video = fsUserCourseVideoMapper.selectFsUserCourseVideoByVideoId(videoId);
|
|
|
videoDuration=video.getDuration();
|
|
|
redisCache.setCacheObject(videoRedisKey,video.getDuration());
|