QuestionType questionType = questionTypeMapper.selectById(t.getQuestionId()); | QuestionType questionType = questionTypeMapper.selectById(t.getQuestionId()); | ||||
if (ObjectUtil.isNotNull(questionType)) { | if (ObjectUtil.isNotNull(questionType)) { | ||||
vo.setType(questionType.getName()); | vo.setType(questionType.getName()); | ||||
vo.setContent(questionType.getContent()); | |||||
vo.setContent(t.getQuestionName()); | |||||
} | } | ||||
return vo; | return vo; | ||||