Browse Source

移动修改

chen 5 years ago
parent
commit
9321a10d24

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

@@ -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")
     @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);
     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,
     int updateParentIdById (@Param("parentId") String parentId,
                             @Param("id") String id);
                             @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}")
             " num = #{num} where id=#{id}")
     int updateParentIdAndQuestionClassTypeAndNumById (@Param("parentId") String parentId,
     int updateParentIdAndQuestionClassTypeAndNumById (@Param("parentId") String parentId,
                                                       @Param("questionClassType") int questionClassType,
                                                       @Param("questionClassType") int questionClassType,