ソースを参照

大题号修改调试

chen 5 年 前
コミット
ff70257e4b

+ 1 - 1
ssj-mybatis-service-impl/src/main/java/com/ssj/service/mapper/KmtExerciseMapper.java

@@ -1168,7 +1168,7 @@ public interface KmtExerciseMapper {
                                     @Param("bookId") String bookId,
                                     @Param("num") int num);
     @Select("select big_question_index from kmt_exercise_questions where book_course_id=#{bookCourseId} " +
-            " and big_question_index=#{bigQuestionIndex} ")
+            " and big_question_index=#{bigQuestionIndex} limit 1")
     String findBigQuestionIndexByBookCourseId (@Param("bookCourseId") String bookCourseId,
                                                @Param("bigQuestionIndex") String bigQuestionIndex);