|
@@ -415,7 +415,7 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
if(fullName.contains("继续教育")&&fullName.contains("施工现场专业人员")){
|
|
|
if((DateUtils.getNowTime().longValue()-userPeriodStatusVo.getRecordStartTime().longValue())<(videoTime.longValue()-5)){
|
|
|
log.info("视频学习时长不达标"+JSON.toJSONString(bo));
|
|
|
- throw new CustomException("视频学习时长不达标,"+(videoTime.longValue()-5-(DateUtils.getNowTime().longValue()-photo.getCreateTime().longValue())),558);
|
|
|
+ throw new CustomException("视频学习时长不达标,"+(videoTime.longValue()-5-(DateUtils.getNowTime().longValue()-userPeriodStatusVo.getRecordStartTime().longValue())),558);
|
|
|
}
|
|
|
}else{
|
|
|
log.info("视频学习时长不达标"+JSON.toJSONString(bo));
|