|
@@ -1034,6 +1034,10 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
iUserPeriodStatusService.save(userPeriodStatusAddBo);
|
|
|
periodId = userPeriodStatusAddBo.getId();
|
|
|
|
|
|
+ }
|
|
|
+ UserStudyRecordQueryBo queryBo = BeanUtil.toBean(entity, UserStudyRecordQueryBo.class);
|
|
|
+ UserStudyRecordVo recordVo = iUserStudyRecordService.queryLast(queryBo);
|
|
|
+ if(recordVo.getStatus()!=1){
|
|
|
UserStudyRecord add = BeanUtil.toBean(entity, UserStudyRecord.class);
|
|
|
add.setCreateTime(DateUtils.getNowTime());
|
|
|
add.setUpdateTime(DateUtils.getNowTime());
|
|
@@ -1042,7 +1046,7 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
iUserStudyRecordService.save(add);
|
|
|
iUserStudyRecordService.studyFinish(add);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|