Skip to content

Commit

Permalink
Merge pull request #25 from potenday-project/develop
Browse files Browse the repository at this point in the history
피드백이름변경
  • Loading branch information
HwangHoYoon authored Dec 15, 2023
2 parents 8fd14f0 + 0b9f475 commit 776ab98
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public class InterviewRes {
private Integer status;
@Schema(description = "등록일", example = "2023-12-09T10:13:17.838+00:00", name = "regDate")
private Date regDate;
@Schema(description = "면접관의속마음", example = "속마음1", name = "feedback")
private String feedback;
@Schema(description = "면접관의속마음", example = "속마음1", name = "interviewerFeel")
private String interviewerFeel;
@Schema(description = "질문데이터", name = "qaData")
private List<QaListForFeedbackRes> qaData;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public InterviewRes selectInterview(Long userId, Long interviewId) {
.userId(user.getUserId())
.title(interview.getTitle())
.status(interview.getStatus())
.feedback(interview.getFeedback())
.interviewerFeel(interview.getFeedback())
.regDate(interview.getRegDate())
.qaData(listForFeedbackResList)
.build();
Expand Down Expand Up @@ -225,7 +225,7 @@ public void downloadInterview(Long userId, Long interviewId, HttpServletResponse

StringBuilder stringBuilder = new StringBuilder();

String feedback = interviewRes.getFeedback();
String feedback = interviewRes.getInterviewerFeel();

stringBuilder.append(title + "면접 결과");

Expand All @@ -245,13 +245,13 @@ public void downloadInterview(Long userId, Long interviewId, HttpServletResponse
stringBuilder.append("\n");

interviewRes.getQaData().stream().forEach(qaListForFeedbackRes -> {
stringBuilder.append(qaListForFeedbackRes.getFeedback1());
stringBuilder.append(qaListForFeedbackRes.getKeyword());
stringBuilder.append("\n");

stringBuilder.append(qaListForFeedbackRes.getQuestion());
stringBuilder.append("\n");

stringBuilder.append(qaListForFeedbackRes.getFeedback2());
stringBuilder.append(qaListForFeedbackRes.getBestAnswer());
stringBuilder.append("\n");
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ public class QaListForFeedbackRes {
@Schema(description = "수정일", example = "2023-12-09T10:13:17.838+00:00", name = "modifyDate")
private Date modifyDate;

@Schema(description = "피드백1 키워드", example = "키워드", name = "feedback1")
private String feedback1;
@Schema(description = "피드백1 키워드", example = "키워드", name = "keyword")
private String keyword;

@Schema(description = "피드백2 AI 답변", example = "AI 답변", name = "feedback2")
private String feedback2;
@Schema(description = "피드백2 모법답안", example = "AI 답변", name = "bestAnswer")
private String bestAnswer;
}

0 comments on commit 776ab98

Please sign in to comment.