Browse Source

删除修改

chen 5 years atrás
parent
commit
7941e9bc6b

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

@@ -1138,7 +1138,7 @@ public interface KmtExerciseMapper {
      * @param questionId
      * @return
      */
-    @Select("select id from kmt_exercise_questions where id=#{questionId} or parent_id=#{questionId} order by num")
+    @Select("select id, num from kmt_exercise_questions where id=#{questionId} or parent_id=#{questionId} order by num")
     List<String> findQuestionIdByParentId (@Param("questionId")String questionId);
 
     @Update("update kmt_exercise_questions set parent_id=#{parentId}, question_class_type=#{questionClassType}" +