|
@@ -513,7 +513,7 @@ public class MarkStudentServiceImpl extends ServiceImpl<MarkStudentMapper, MarkS
|
|
|
studentObjectiveAnswerDto.setSubNumber(q != null ? q.getSubNumber() : 0);
|
|
|
studentObjectiveAnswerDto.setAnswer(answer);
|
|
|
studentObjectiveAnswerDto.setExist(q != null && q.getTotalScore() > 0);
|
|
|
- studentObjectiveAnswerDto.setQuestionType(q.getQuestionType());
|
|
|
+ studentObjectiveAnswerDto.setQuestionType(q !=null ? q.getQuestionType():0);
|
|
|
answerDtoList.add(studentObjectiveAnswerDto);
|
|
|
|
|
|
if (q != null) {
|