|
@@ -498,6 +498,8 @@ public class UserMouldVideoServiceImpl implements UserMouldVideoService { |
|
|
Double _vt = Double.valueOf(videoDetail.getDuration()); |
|
|
Double _vt = Double.valueOf(videoDetail.getDuration()); |
|
|
if (null != _vt && _vt > 0) { |
|
|
if (null != _vt && _vt > 0) { |
|
|
videoUpd.setVideoTime(videoDetail.getDuration()); |
|
|
videoUpd.setVideoTime(videoDetail.getDuration()); |
|
|
|
|
|
}else { |
|
|
|
|
|
videoUpd.setVideoTime(userMouldVideo.getVideoTime()); |
|
|
} |
|
|
} |
|
|
videoUpd.setVideoSize(videoDetail.getSize()); |
|
|
videoUpd.setVideoSize(videoDetail.getSize()); |
|
|
videoUpd.setVideoStatus(EnumVideoStatus.upload_success.getCode()); |
|
|
videoUpd.setVideoStatus(EnumVideoStatus.upload_success.getCode()); |
|
|