瀏覽代碼

移动修改

chen 5 年之前
父節點
當前提交
9321a10d24
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ssj-mybatis-service-impl/src/main/java/com/ssj/service/mapper/KmtExerciseMapper.java

+ 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")
     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,