|
@@ -386,6 +386,9 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
fullName = iCourseBusinessService.queryFullName(queryBusinessBo);*/
|
|
|
//判断录播拍照是否达标
|
|
|
if(courseSectionVo.getSectionType()==1&&Validator.isNotEmpty(bo.getStatus())&&bo.getStatus()==1){
|
|
|
+ if(true){
|
|
|
+ throw new CustomException("视频学习时长不达标,758",558);
|
|
|
+ }
|
|
|
if(Validator.isNotEmpty(goodsVo)){
|
|
|
if(Validator.isNotEmpty(bo.getGradeId())){
|
|
|
ClassGrade grade = iClassGradeService.getOne(new LambdaQueryWrapper<ClassGrade>()
|
|
@@ -444,7 +447,7 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
if((fullName.contains("继续教育")&&fullName.contains("施工现场专业人员"))||fullName.equals("继续教育一级建造师")){
|
|
|
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));
|