feat : 채점시 대소문자 체크

This commit is contained in:
yulmam 2024-08-09 14:45:27 +09:00
parent 405e45b9d1
commit 3e509fa9eb

View File

@ -56,7 +56,7 @@ public class ReportServiceImpl implements ReportService {
String inputAnswer = answerInputList.get(idx); String inputAnswer = answerInputList.get(idx);
boolean isCorrect; boolean isCorrect;
Answer answer; Answer answer;
if (quiz.getAnswer().equals(inputAnswer)) { if (quiz.getAnswer().equalsIgnoreCase(inputAnswer)) {
correctCount++; correctCount++;
isCorrect = true; isCorrect = true;
} else { } else {