|
@@ -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}" +
|