|
@@ -183,6 +183,9 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
@Autowired
|
|
@Autowired
|
|
private IUserSubscribeService iUserSubscribeService;
|
|
private IUserSubscribeService iUserSubscribeService;
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private IUserStudyRecordService iUserStudyRecordService;
|
|
|
|
+
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private IUserPlanService userPlanService;
|
|
private IUserPlanService userPlanService;
|
|
@@ -1031,6 +1034,13 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
iUserPeriodStatusService.save(userPeriodStatusAddBo);
|
|
iUserPeriodStatusService.save(userPeriodStatusAddBo);
|
|
periodId = userPeriodStatusAddBo.getId();
|
|
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);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|