diff --git a/tamguo-tms/src/main/java/com/tamguo/web/tiku/QuestionContrller.java b/tamguo-tms/src/main/java/com/tamguo/web/tiku/QuestionContrller.java index b6c02b7..fe02fa8 100644 --- a/tamguo-tms/src/main/java/com/tamguo/web/tiku/QuestionContrller.java +++ b/tamguo-tms/src/main/java/com/tamguo/web/tiku/QuestionContrller.java @@ -43,7 +43,7 @@ public class QuestionContrller { CourseEntity course = iCourseService.selectById(chapter.getCourseId()); SubjectEntity subject = iSubjectService.selectById(course.getSubjectId()); ChapterEntity parentChapter = iChapterService.selectById(chapter.getParentId()); - ChapterEntity nextChapter = iChapterService.selectById(chapter.getParentId()); + ChapterEntity nextChapter = iChapterService.selectById(chapter.getId()); Page page = new Page<>(); page.setCurrent(offset);