|
@@ -1033,14 +1033,16 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
userPeriodStatusAddBo.setUpdateTime(DateUtils.getNowTime());
|
|
|
iUserPeriodStatusService.save(userPeriodStatusAddBo);
|
|
|
periodId = userPeriodStatusAddBo.getId();
|
|
|
+
|
|
|
+ UserStudyRecord add = BeanUtil.toBean(entity, UserStudyRecord.class);
|
|
|
+ add.setCreateTime(DateUtils.getNowTime());
|
|
|
+ add.setUpdateTime(DateUtils.getNowTime());
|
|
|
+ add.setCurrentStatus(1);
|
|
|
+ add.setStatus(1);
|
|
|
+ iUserStudyRecordService.save(add);
|
|
|
+ iUserStudyRecordService.studyFinish(add);
|
|
|
}
|
|
|
- UserStudyRecord add = BeanUtil.toBean(entity, UserStudyRecord.class);
|
|
|
- add.setCreateTime(DateUtils.getNowTime());
|
|
|
- add.setUpdateTime(DateUtils.getNowTime());
|
|
|
- add.setCurrentStatus(1);
|
|
|
- add.setStatus(1);
|
|
|
- iUserStudyRecordService.save(add);
|
|
|
- iUserStudyRecordService.studyFinish(add);
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|