Skip to content
Merged
Show file tree
Hide file tree
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 @@ -57,10 +57,10 @@ record Thesis(
@Schema(description = "졸업 타입", example = "THESIS")
String type,

@Schema(description = "중간 논문 상태")
@Schema(description = "중간 보고서 상태")
Middle midThesis,

@Schema(description = "최종 논문 상태")
@Schema(description = "최종 보고서 상태")
Final finalThesis
) implements GraduationUserStatusResponse {
public static Thesis of(GraduationType type, Middle midThesis, Final finalThesis) {
Expand All @@ -72,7 +72,7 @@ public static Thesis of(GraduationType type, Middle midThesis, Final finalThesis
}

@Builder
@Schema(description = "중간 논문 제출 상태")
@Schema(description = "중간 보고서 제출 상태")
public record Middle(
@Schema(description = "파일 제출 여부", example = "true")
boolean submitted,
Expand All @@ -99,7 +99,7 @@ public static Middle of(boolean submitted, Long thesisId, boolean approval, Loca
}

@Builder
@Schema(description = "최종 논문 제출 상태")
@Schema(description = "최종 보고서 제출 상태")
public record Final(
@Schema(description = "파일 제출 여부", example = "false")
boolean submitted,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void createSchedule_Success() {
// given
ScheduleCreateRequest request = ScheduleCreateRequest.builder()
.submissionType(MIDTHESIS)
.content("중간 논문 본문")
.content("중간보고서 본문")
.startDate(DEFAULT_START_DATE.plusMonths(1))
.endDate(DEFAULT_END_DATE.plusMonths(1))
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public record ScheduleListResponse(
example = """
[{
"id": 1,
"submissionType": "중간논문",
"submissionType": "중간보고서",
"startDate": "2025-05-01",
"endDate": "2025-12-31",
"status": "진행 중"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public record ScheduleSummaryResponse(
@Schema(description = "일정 id", example = "1", requiredMode = REQUIRED)
Long id,

@Schema(description = "제출 유형", example = "중간논문", requiredMode = REQUIRED)
@Schema(description = "제출 유형", example = "중간보고서", requiredMode = REQUIRED)
String submissionType,

@Schema(description = "시작일", example = "2025-05-01", requiredMode = REQUIRED)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@Builder
public record ScheduleTypeContentResponse(
@Schema(description = "제출 유형", example = "중간논문", requiredMode = REQUIRED)
@Schema(description = "제출 유형", example = "중간보고서", requiredMode = REQUIRED)
String submissionType,

@Schema(description = "일정 본문 내용", example = "매학기 개강 후 2주 이내에 신청서를 작성하여 접수해야 합니다.",requiredMode = REQUIRED)
Expand Down
4 changes: 2 additions & 2 deletions aics-api/src/main/resources/db/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ VALUES
INSERT INTO schedule (submission_type, content, start_date, end_date, created_at, updated_at)
VALUES ('SUBMITTED', '학부생 졸업 논문 신청을 접수합니다.', '2025-02-24 09:00:00', '2025-03-10 18:00:00',
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('MIDTHESIS', '중간 논문 제출 및 심사 기간입니다.', '2025-04-01 09:00:00', '2025-04-12 18:00:00',
('MIDTHESIS', '중간 보고서 제출 및 심사 기간입니다.', '2025-04-01 09:00:00', '2025-04-12 18:00:00',
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('FINALTHESIS', '최종 논문 제출 및 심사 기간입니다.', '2025-05-20 09:00:00', '2025-06-05 18:00:00',
('FINALTHESIS', '최종 보고서 제출 및 심사 기간입니다.', '2025-05-20 09:00:00', '2025-06-05 18:00:00',
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('CERTIFICATE', '취득한 자격증 제출 및 심사 기간입니다.', '2025-03-15 09:00:00', '2025-03-29 18:00:00',
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ private String determineStage(GraduationUser user) {

if (user.getGraduationType() == GraduationType.THESIS) {
if (user.getMidThesisId() == null) {
return "중간 논문 미제출";
return "중간 보고서 미제출";
}
if (user.getFinalThesisId() == null) {
return "최종 논문 미제출";
return "최종 보고서 미제출";
}
return "최종 논문 제출";
return "최종 보고서 제출";
}
else if (user.getGraduationType() == GraduationType.CERTIFICATE) {
if (user.getCertificateId() == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@Getter
@RequiredArgsConstructor
public enum GraduationType {
THESIS("보고서"),
THESIS("논문"),
CERTIFICATE("자격증"),
;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
@RequiredArgsConstructor
public enum SubmissionType {
SUBMITTED("신청접수"),
MIDTHESIS("중간논문"),
FINALTHESIS("최종논문"),
MIDTHESIS("중간보고서"),
FINALTHESIS("최종보고서"),
CERTIFICATE("자격증"),
APPROVED("최종 통과"),
OTHER("기타")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void init(){
fakeScheduleRepository.save(
Schedule.create(
SubmissionType.MIDTHESIS,
"중간 논문",
"중간보고서",
baseStart.plusDays(7),
baseStart.plusDays(10)
)
Expand Down