|
|
@@ -181,7 +181,7 @@ public class ExamService {
|
|
|
List<LearnAnswer> addList, List<LearnAnswer> updateList) {
|
|
|
LearnAnswer answer = new LearnAnswer();
|
|
|
PaperVO.QuestionAnswer exist = questionMap.remove(question.getId());
|
|
|
- if(null == exist) {
|
|
|
+ if(null == exist || null == exist.getAnswerId()) {
|
|
|
answer.setExamineeId(answerSheet.getExamineeId());
|
|
|
answer.setStudentId(SecurityUtils.getUserId());
|
|
|
answer.setQuestionId(question.getId());
|