Skip to content

Commit

Permalink
perf: 원서 조회및 결과 조회시 전형변경여부 표시
Browse files Browse the repository at this point in the history
- 어드민이 원서를 상세조회할 때 해당 지원자의 전형이 변경되었는지 여부를 표시하도록 수정했어요.
- 지원자가 결과를 조회할 때 자신의 전형이 변경되었는지 여부를 표시하도록 수정했어요.
  • Loading branch information
cabbage16 committed Sep 15, 2024
1 parent d83126e commit 41fbce8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public class FormResponse {
private String formUrl;
private FormType type;
private FormStatus status;
private boolean isChangedToRegular;

public FormResponse(Form form, String identificationPictureUri, String formUrl) {
this.id = form.getId();
Expand All @@ -31,5 +32,6 @@ public FormResponse(Form form, String identificationPictureUri, String formUrl)
this.formUrl = formUrl;
this.type = form.getType();
this.status = form.getStatus();
this.isChangedToRegular = form.getChangedToRegular();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ public class FormResultResponse {
private String name;
private String type;
private boolean isPassed;
private boolean isChangedToRegular;

public FormResultResponse(Form form, boolean isPassed) {
this.id = form.getId();
this.name = form.getApplicant().getName();
this.type = form.getType().getDescription();
this.isPassed = isPassed;
this.isChangedToRegular= form.getChangedToRegular();
}
}

0 comments on commit 41fbce8

Please sign in to comment.