Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ public Problem(List<ChildProblem> childProblems, boolean isConfirmed, AnswerType
List<String> prescriptionImageUrls, String seniorTipImageUrl, String readingTipImageUrl,
String mainAnalysisImageUrl, String mainProblemImageUrl, String memo, String answer, String title,
ProblemType problemType, int number, PracticeTestTag practiceTestTag,
ProblemCustomId problemCustomId) {
ProblemCustomId problemCustomId, Integer recommendedMinute, Integer recommendedSecond) {
this.childProblems = childProblems;
this.isConfirmed = isConfirmed;
this.answerType = AnswerType.SHORT_ANSWER;
this.answerType = answerType;
this.conceptTagIds = conceptTagIds;
this.mainHandwritingExplanationImageUrl = mainHandwritingExplanationImageUrl;
this.prescriptionImageUrls = prescriptionImageUrls;
Expand All @@ -102,13 +102,13 @@ public Problem(List<ChildProblem> childProblems, boolean isConfirmed, AnswerType
this.mainProblemImageUrl = mainProblemImageUrl;
this.difficulty = new Difficulty(difficulty);
this.memo = memo;
this.answer = new Answer("0", this.answerType);
this.answer = new Answer(answer, this.answerType);
this.title = new Title(title);
this.problemType = problemType;
this.number = number;
this.practiceTestId = practiceTestTag != null ? practiceTestTag.getId() : null;
this.problemCustomId = problemCustomId;
this.recommendedTime = new RecommendedTime(0, 0);
this.recommendedTime = new RecommendedTime(recommendedMinute, recommendedSecond);
}

public String getAnswer() {
Expand Down