Skip to content

Commit

Permalink
fix: 심사결과보고서 심사 결과 반영 (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
hynseok authored Oct 19, 2024
1 parent 3510c4d commit ae3e0ff
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions src/modules/reviews/reviews.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1169,27 +1169,27 @@ export class ReviewsService {
if (singleReview.isFinal) {
replacer["$심사위원장"].push({
$성명: singleReview.reviewer.name,
"$내용:합격": singleReview.contentStatus ? "O" : "",
"$내용:불합격": singleReview.contentStatus ? "" : "O",
"$구두:합격": singleReview.presentationStatus ? "O" : "",
"$구두:불합격": singleReview.presentationStatus ? "" : "O",
"$내용:합격": singleReview.contentStatus === "PASS" ? "O" : "",
"$내용:불합격": singleReview.contentStatus === "FAIL" ? "O" : "",
"$구두:합격": singleReview.presentationStatus === "PASS" ? "O" : "",
"$구두:불합격": singleReview.presentationStatus === "FAIL" ? "O" : "",
});
}
} else if (reviewer.role == Role.COMMITTEE_MEMBER) {
replacer["$심사위원"].push({
$성명: singleReview.reviewer.name,
"$내용:합격": singleReview.contentStatus ? "O" : "",
"$내용:불합격": singleReview.contentStatus ? "" : "O",
"$구두:합격": singleReview.presentationStatus ? "O" : "",
"$구두:불합격": singleReview.presentationStatus ? "" : "O",
"$내용:합격": singleReview.contentStatus === "PASS" ? "O" : "",
"$내용:불합격": singleReview.contentStatus === "FAIL" ? "O" : "",
"$구두:합격": singleReview.presentationStatus === "PASS" ? "O" : "",
"$구두:불합격": singleReview.presentationStatus === "FAIL" ? "O" : "",
});
} else if (reviewer.role == Role.ADVISOR) {
replacer["$지도교수"].push({
$성명: singleReview.reviewer.name,
"$내용:합격": singleReview.contentStatus ? "O" : "",
"$내용:불합격": singleReview.contentStatus ? "" : "O",
"$구두:합격": singleReview.presentationStatus ? "O" : "",
"$구두:불합격": singleReview.presentationStatus ? "" : "O",
"$내용:합격": singleReview.contentStatus === "PASS" ? "O" : "",
"$내용:불합격": singleReview.contentStatus === "FAIL" ? "O" : "",
"$구두:합격": singleReview.presentationStatus === "PASS" ? "O" : "",
"$구두:불합격": singleReview.presentationStatus === "FAIL" ? "O" : "",
});
}
}
Expand Down Expand Up @@ -1222,21 +1222,21 @@ export class ReviewsService {
if (singleReview.isFinal) {
replacer["$심사위원장"].push({
$성명: singleReview.reviewer.name,
$합격: singleReview.contentStatus ? "O" : "",
$불합격: singleReview.contentStatus ? "" : "O",
$합격: singleReview.contentStatus === "PASS" ? "O" : "",
$불합격: singleReview.contentStatus === "FAIL" ? "O" : "",
});
}
} else if (reviewer.role == Role.COMMITTEE_MEMBER) {
replacer["$심사위원"].push({
$성명: singleReview.reviewer.name,
$합격: singleReview.contentStatus ? "O" : "",
$불합격: singleReview.contentStatus ? "" : "O",
$합격: singleReview.contentStatus === "PASS" ? "O" : "",
$불합격: singleReview.contentStatus === "FAIL" ? "O" : "",
});
} else if (reviewer.role == Role.ADVISOR) {
replacer["$지도교수"].push({
$성명: singleReview.reviewer.name,
$합격: singleReview.contentStatus ? "O" : "",
$불합격: singleReview.contentStatus ? "" : "O",
$합격: singleReview.contentStatus === "PASS" ? "O" : "",
$불합격: singleReview.contentStatus === "FAIL" ? "O" : "",
});
}
}
Expand Down

0 comments on commit ae3e0ff

Please sign in to comment.