|
@@ -371,7 +371,7 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
lastVo.setStatus(1);
|
|
|
}
|
|
|
if(lastVo.getVideoCurrentTime().longValue()<=add.getVideoCurrentTime().longValue()){
|
|
|
- lastVo.setStudyDuration(lastVo.getStudyDuration()+(add.getVideoCurrentTime().longValue()-lastVo.getVideoCurrentTime().longValue()));
|
|
|
+ lastVo.setStudyDuration(lastVo.getStudyDuration().longValue()+(add.getVideoCurrentTime().longValue()-lastVo.getVideoCurrentTime().longValue()));
|
|
|
}else{
|
|
|
lastVo.setStudyDuration(lastVo.getStudyDuration()+add.getStudyDuration());
|
|
|
}
|