|
|
@ -74,6 +74,7 @@ public class CourseLearningRecordServiceImpl extends ServiceImpl<CourseLearningR |
|
|
|
CourseLearningNumber courseLearningNumber = new CourseLearningNumber(); |
|
|
|
CourseLearningNumber courseLearningNumber = new CourseLearningNumber(); |
|
|
|
courseLearningNumber.setNumber(1); |
|
|
|
courseLearningNumber.setNumber(1); |
|
|
|
courseLearningNumber.setCourseId(courseId); |
|
|
|
courseLearningNumber.setCourseId(courseId); |
|
|
|
|
|
|
|
courseLearningNumber.setTeacherUserId(courseLearningRecord.getTeacherUserId()); |
|
|
|
courseLearningNumberService.save(courseLearningNumber); |
|
|
|
courseLearningNumberService.save(courseLearningNumber); |
|
|
|
//System.out.println("该课程第一次被学习");
|
|
|
|
//System.out.println("该课程第一次被学习");
|
|
|
|
} |
|
|
|
} |
|
|
|