|
@@ -117,7 +117,7 @@ public class LearnQuestionsController extends BaseController
|
|
|
{
|
|
{
|
|
|
QuestionType qt = QuestionType.of(param.getInteger("type"));
|
|
QuestionType qt = QuestionType.of(param.getInteger("type"));
|
|
|
List<Long> ids = param.getList ("ids", Long.class);
|
|
List<Long> ids = param.getList ("ids", Long.class);
|
|
|
- learnQuestionsService.updateQuestionType(qt.name(), ids);
|
|
|
|
|
|
|
+ learnQuestionsService.updateQuestionType(qt.getTitle(), ids);
|
|
|
return AjaxResult.success();
|
|
return AjaxResult.success();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|