From d3a88157b5d75305dd45d23132954bf606a1827a Mon Sep 17 00:00:00 2001 From: tamguo Date: Sun, 5 Aug 2018 14:47:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/tamguo/web/tiku/QuestionContrller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);