|
@@ -1243,11 +1243,11 @@ public interface KmtExerciseMapper {
|
|
|
@Select("select eb.id from kmt_exercise_book eb where eb.book_id=#{bookId} and eb.book_type=3 limit 1")
|
|
|
String findDifferentExerciseBookIdByBookId (@Param("bookId") String bookId);
|
|
|
|
|
|
- @Update("update kmt_exercise_questions set parent_id=#{parenId} where id=#{id}")
|
|
|
+ @Update("update kmt_exercise_questions set parent_id=#{parentId} where id=#{id}")
|
|
|
int updateParentIdById (@Param("parentId") String parentId,
|
|
|
@Param("id") String id);
|
|
|
|
|
|
- @Update("update kmt_exercise_questions set parent_id=#{parenId}, question_class_type=#{questionClassType}," +
|
|
|
+ @Update("update kmt_exercise_questions set parent_id=#{parentId}, question_class_type=#{questionClassType}," +
|
|
|
" num = #{num} where id=#{id}")
|
|
|
int updateParentIdAndQuestionClassTypeAndNumById (@Param("parentId") String parentId,
|
|
|
@Param("questionClassType") int questionClassType,
|