|
@@ -327,7 +327,7 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
}else{
|
|
}else{
|
|
|
videoTime = bo.getVideoCurrentTime();
|
|
videoTime = bo.getVideoCurrentTime();
|
|
|
}
|
|
}
|
|
|
- Integer num = (int)Math.ceil(videoTime.intValue()/(15*60));
|
|
|
|
|
|
|
+ Integer num = (int)Math.floor(videoTime.intValue()/(15*60))+1;
|
|
|
UserPeriodQueryBo userPeriodQueryBo2 = new UserPeriodQueryBo();
|
|
UserPeriodQueryBo userPeriodQueryBo2 = new UserPeriodQueryBo();
|
|
|
userPeriodQueryBo2.setSectionId(bo.getSectionId());
|
|
userPeriodQueryBo2.setSectionId(bo.getSectionId());
|
|
|
userPeriodQueryBo2.setCourseId(bo.getCourseId());
|
|
userPeriodQueryBo2.setCourseId(bo.getCourseId());
|