|
@@ -326,6 +326,7 @@ public class QuestionProviderServiceImpl implements QuestionProviderService {
|
|
|
DefaultQuestionUnit defaultQuestionUnit = new DefaultQuestionUnit();
|
|
|
defaultQuestionUnit.setBody(question.getQuesBody());
|
|
|
defaultQuestionUnit.setQuestionType(getByOldType(question.getQuestionType()));
|
|
|
+ defaultQuestionUnit.setAnswerType(question.getAnswerType());//作答类型
|
|
|
//如果是单选或者多选,添加选项和答案转换
|
|
|
if (question.getQuestionType() == QuesStructType.SINGLE_ANSWER_QUESTION || question.getQuestionType() == QuesStructType.MULTIPLE_ANSWER_QUESTION) {
|
|
|
List<DefaultQuestionOption> defaultQuestionOptions = new ArrayList<DefaultQuestionOption>();
|