|
@@ -162,7 +162,7 @@ public class CourseChapterSectionServiceImpl extends ServiceImpl<CourseChapterSe
|
|
if (audit > 0) {
|
|
if (audit > 0) {
|
|
courseMenuVo.setAudit(1L);
|
|
courseMenuVo.setAudit(1L);
|
|
}
|
|
}
|
|
- Integer learning = baseMapper.learningCheck(courseMenuVo.getTypeId(), courseMenuVo.getGradeId(), bo.getUserId(), bo.getModuleId(), bo.getChapterId(), 0L,bo.getCourseId());
|
|
|
|
|
|
+ Integer learning = baseMapper.learningCheck(courseMenuVo.getTypeId(), courseMenuVo.getGradeId(), bo.getUserId(), bo.getModuleId(), bo.getChapterId(), null,bo.getCourseId());
|
|
if (learning > 0) {
|
|
if (learning > 0) {
|
|
courseMenuVo.setLearning(1L);
|
|
courseMenuVo.setLearning(1L);
|
|
}
|
|
}
|