Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
71fe051
refactor : submission api 새 명세에 맞게 구조 변경
coehgns Jan 10, 2026
7d1c389
refactor : pdf preview api 새 명세에 맞게 구조 변경
coehgns Jan 12, 2026
2a90040
refactor : 수험번호 부여 api 새 명세에 맞게 구조 변경
coehgns Jan 12, 2026
747ddb9
fix : admin refresh api
coehgns Jan 12, 2026
e8b8478
refactor : 지원자 목록 조회 api 새 명세에 맞게 구조 변경
coehgns Jan 13, 2026
e402056
refactor : 지원자 상세 조회 api 새 명세에 맞게 구조 변경
coehgns Jan 13, 2026
8b2384d
refactor : excel 기능 새 api 명세에 맞게 구조 변경
coehgns Jan 13, 2026
e914c16
refactor : 원서 제출 취소 api 새 명세에 맞게 구조 변경
coehgns Jan 13, 2026
551a157
refactor : pdf 최종 다운로드 새 api 명세에 맞게 구조 변경
coehgns Jan 13, 2026
c28e130
fix : 1차 합격 발표 기능 수정
coehgns Jan 13, 2026
6501834
refactor : 지역별 접수 현황 api 새 명세에 맞게 구조 변경
coehgns Jan 13, 2026
c59f36d
refactor : 전형이 끝났을 경우 전형 마감일을 0으로 표시하게 수정
coehgns Jan 13, 2026
e67a043
refactor : 성비 조회 api 새 명세에 맞게 구조 변경
coehgns Jan 13, 2026
e5f7d41
fix : 경쟁률 및 지원율 총 정원수에 맞게 조정
coehgns Jan 13, 2026
465d1b9
refactor : 성적 산출 api 새 명세서에 맞게 구조 변경
coehgns Jan 13, 2026
ad29631
fix : 원서 제출 및 pdf 미리보기 과목 점수가 null일 경우 XXXX로 보내게 수정
coehgns Jan 14, 2026
1bf7327
fix : 검정고시 원서 제출 및 pdf 미리보기 api 연동 로직 수정
coehgns Jan 14, 2026
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
4 changes: 2 additions & 2 deletions apps/Admission-LTS/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"dependencies": {
"react-device-detect": "^2.2.3",
"react-pdf": "^7.7.1",
"pdfjs-dist": "^3.11.174"
"react-pdf": "^10.2.0",
"pdfjs-dist": "5.4.296"
}
}
4 changes: 2 additions & 2 deletions apps/Admission-LTS/src/apis/admission/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const sendErrorReport = async (
const errorReport = {
sessionId,
pageType: "ADMISSION",
endpoint: "/api/v1/applications",
endpoint: "/application",
httpMethod: "POST",
httpStatus: error.response?.status || 0,
errorCategory: "SERVER_ERROR",
Expand Down Expand Up @@ -44,7 +44,7 @@ export const useAdmissionSubmitPost = <T extends IAdmissionRequest>() => {
mutationFn: async (data: T) => {
const startTime = Date.now()
try {
const response = await AdmissionUserInstance.post('/api/v1/applications', data)
const response = await AdmissionUserInstance.post('/application', data)
return response.data
} catch (error) {
const responseTime = Date.now() - startTime
Expand Down
140 changes: 74 additions & 66 deletions apps/Admission-LTS/src/apis/admission/types.ts
Original file line number Diff line number Diff line change
@@ -1,69 +1,77 @@
export interface IAdmissionRequest {
applicantName: string, //applicant-info, 지원자 성명
applicantTel: string, //applicant-info, 지원자 연락처
applicationType: string | null, //application-classification, 전형 선택
educationalStatus: string | null, //application-classification, 졸업 구분
birthDate: string, //applicant-info, 생년월일
applicantGender: string | null, //applicant-info, 지원자 성별
streetAddress: string, //guardian-info, 기본주소
postalCode: string, //guardian-info, 우편번호
detailAddress: string, //guardian-info, 상세주소
isDaejeon: boolean, //application-classification, 지역 선택
parentName: string, //guardian-info, 보호자 성명
parentTel: string, //guardian-info, 보호자 연락처
parentRelation: string, //guardian-info, 지원자와의 관계
guardianGender: string | null, //guardian-info, 성별
schoolCode: string | null, //middle-school-info, 학교 코드
schoolName: string | null, //middle-school-info, 학교 이름
studentId: number | null, //middle-school-info, 중학교 학번
schoolPhone: string | null, //middle-school-info, 중학교 전화번호
teacherName: string | null, //middle-school-info, 중학교 교사 성명
nationalMeritChild: boolean, //applicant-info, 국가 유공자 체크
specialAdmissionTarget: boolean, //applicant-info, 특례입학 대상
graduationDate: string | null, //application-classification, 졸업 예정 연월
studyPlan: string, //personal-statements, 학업계획서
selfIntroduce: string, //personal-statements, 자기소개
korean_3_1: number | null,
social_3_1: number | null,
history_3_1: number | null,
math_3_1: number | null,
science_3_1: number | null,
tech_3_1: number | null,
english_3_1: number | null,
korean_3_2: number | null,
social_3_2: number | null,
history_3_2: number | null,
math_3_2: number | null,
science_3_2: number | null,
tech_3_2: number | null,
english_3_2: number | null,
korean_2_2: number | null,
social_2_2: number | null,
history_2_2: number | null,
math_2_2: number | null,
science_2_2: number | null,
tech_2_2: number | null,
english_2_2: number | null,
korean_2_1: number | null,
social_2_1: number | null,
history_2_1: number | null,
math_2_1: number | null,
science_2_1: number | null,
tech_2_1: number | null,
english_2_1: number | null,
gedKorean: number | null,
gedSocial: number | null,
gedHistory: number | null,
gedMath: number | null,
gedScience: number | null,
gedTech: number | null,
gedEnglish: number | null,
absence: number | null, //결석
tardiness: number | null, //지각
earlyLeave: number | null, //조퇴
classExit: number | null, //결과
// unexcused: number | null, //미인정
volunteer: number | null, //봉사
algorithmAward: boolean,
applicantInfo: IApplicantInfo
addressInfo: IAddressInfo
applicationInfo: IApplicationInfo
schoolInfo: ISchoolInfo
gradeInfo: IGradeInfo
attendanceInfo: IAttendanceInfo
awardAndCertificateInfo: IAwardAndCertificateInfo
}

interface IApplicantInfo {
applicantName: string // applicant-info, 지원자 성명
applicantTel: string // applicant-info, 지원자 연락처
birthDate: string // applicant-info, 생년월일
applicantGender: string // applicant-info, 지원자 성별

parentName: string // guardian-info, 보호자 성명
parentTel: string // guardian-info, 보호자 연락처
parentRelation: string // guardian-info, 지원자와의 관계

}

interface IAddressInfo {
isDaejeon: boolean // application-classification, 지역 선택
streetAddress: string // guardian-info, 기본주소
detailAddress: string // guardian-info, 상세주소
postalCode: string // guardian-info, 우편번호
}

interface IApplicationInfo {
applicationType: string | null // application-classification, 전형 선택
educationalStatus: string | null // application-classification, 졸업 구분
studentNumber: string | null // middle-school-info, 중학교 학번
graduationDate: string | null // application-classification, 졸업 예정 연월

studyPlan: string // personal-statements, 학업계획서
selfIntroduce: string // personal-statements, 자기소개

applicationRemark: string // applicant-info, 특기사항
}

interface ISchoolInfo {
schoolCode: string | null // middle-school-info, 학교 코드
schoolName: string | null // middle-school-info, 학교 이름
schoolPhone: string | null // middle-school-info, 중학교 전화번호
teacherName: string | null // middle-school-info, 중학교 교사 성명
}

interface IGradeInfo {
koreanGrade: string | null
socialGrade: string | null
historyGrade: string | null
mathGrade: string | null
scienceGrade: string | null
englishGrade: string | null
techAndHomeGrade: string | null

gedKorean: number | null
gedSocial: number | null
gedMath: number | null
gedScience: number | null
gedEnglish: number | null
gedHistory: number | null
}

interface IAttendanceInfo {
absence: number | null // 결석
tardiness: number | null // 지각
earlyLeave: number | null // 조퇴
classExit: number | null // 결과
volunteer: number | null // 봉사
}

interface IAwardAndCertificateInfo {
algorithmAward: boolean
infoProcessingCert: boolean
}
2 changes: 1 addition & 1 deletion apps/Admission-LTS/src/apis/pdfPreview/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { AxiosError } from "axios"
export const usePdfPreviewPost = <T extends IPdfPreviewRequest>() => {
return useMutation({
mutationFn: async(data : T) => {
const response = await AdmissionUserInstance.post('/api/v1/application/pdf/preview', data, {
const response = await AdmissionUserInstance.post('/pdf/preview', data, {
responseType: 'blob'
});
return response.data
Expand Down
72 changes: 3 additions & 69 deletions apps/Admission-LTS/src/apis/pdfPreview/types.ts
Original file line number Diff line number Diff line change
@@ -1,69 +1,3 @@
export interface IPdfPreviewRequest {
applicantName: string, //applicant-info, 지원자 성명
applicantTel: string, //applicant-info, 지원자 연락처
applicationType: string | null, //application-classification, 전형 선택
educationalStatus: string | null, //application-classification, 졸업 구분
birthDate: string, //applicant-info, 생년월일
applicantGender: string | null, //applicant-info, 지원자 성별
streetAddress: string, //guardian-info, 기본주소
postalCode: string, //guardian-info, 우편번호
detailAddress: string, //guardian-info, 상세주소
isDaejeon: boolean, //application-classification, 지역 선택
parentName: string, //guardian-info, 보호자 성명
parentTel: string, //guardian-info, 보호자 연락처
parentRelation: string, //guardian-info, 지원자와의 관계
guardianGender: string | null, //guardian-info, 성별
schoolCode: string | null, //middle-school-info, 학교 코드
schoolName: string | null, //middle-school-info, 학교 이름
studentId: number | null, //middle-school-info, 중학교 학번
schoolPhone: string | null, //middle-school-info, 중학교 전화번호
teacherName: string | null, //middle-school-info, 중학교 교사 성명
nationalMeritChild: boolean, //applicant-info, 국가 유공자 체크
specialAdmissionTarget: boolean, //applicant-info, 특례입학 대상
graduationDate: string | null, //application-classification, 졸업 예정 연월
studyPlan: string, //personal-statements, 학업계획서
selfIntroduce: string, //personal-statements, 자기소개
korean_3_1: number | null,
social_3_1: number | null,
history_3_1: number | null,
math_3_1: number | null,
science_3_1: number | null,
tech_3_1: number | null,
english_3_1: number | null,
korean_3_2: number | null,
social_3_2: number | null,
history_3_2: number | null,
math_3_2: number | null,
science_3_2: number | null,
tech_3_2: number | null,
english_3_2: number | null,
korean_2_2: number | null,
social_2_2: number | null,
history_2_2: number | null,
math_2_2: number | null,
science_2_2: number | null,
tech_2_2: number | null,
english_2_2: number | null,
korean_2_1: number | null,
social_2_1: number | null,
history_2_1: number | null,
math_2_1: number | null,
science_2_1: number | null,
tech_2_1: number | null,
english_2_1: number | null,
gedKorean: number | null,
gedSocial: number | null,
gedHistory: number | null,
gedMath: number | null,
gedScience: number | null,
gedTech: number | null,
gedEnglish: number | null,
absence: number | null, //결석
tardiness: number | null, //지각
earlyLeave: number | null, //조퇴
classExit: number | null, //결과
// unexcused: number | null, //미인정
volunteer: number | null, //봉사
algorithmAward: boolean,
infoProcessingCert: boolean
}
import { IAdmissionRequest } from "../admission/types"

export type IPdfPreviewRequest = IAdmissionRequest
Loading