Skip to content

Commit ecc6a3f

Browse files
023-devfivedragon5
andauthored
release: production 배포 (#422)
* feat: JWT 인증 필터에서 검증 토큰 처리 로직 개선 및 쿠키 삭제 기능 추가 * feat: JWT 인증 필터에서 검증 토큰 쿠키에 보안 속성 추가 * feat: JWT 인증 필터에서 검증 토큰 처리 로직 개선 * feat: JWT 인증 필터에서 검증 토큰 처리 로직 간소화 * feat: JWT 인증 필터에서 액세스 토큰 및 검증 토큰 처리 로직 개선 * feat: 관리자 로그인 및 서포터 토큰 발급 이벤트를 발행하도록 알림 시스템을 이벤트 기반으로 리팩토링 (#405) * feat: 미니 스터디 설명 필드 추가 (#408) * feat: MiniStudy 엔티티에 tag 필드 추가 * feat: MiniStudyResponse에 tag 필드 추가 * feat: MiniStudyQueryRepository에 tag 필드 추가 * test: MiniStudyQueryRepositoryTest에 tag 필드 관련 테스트 추가 * feat: mini_study 테이블에 tag 컬럼 추가 * feat: 관리자 지원서 조회 API에 기수 파라미터 추가 (#409) * feat: 임시 지원서 목록 조회 API에 semesterId 필터 추가 * feat: 제출된 지원서 조회 API에 semesterId 필터 추가 * feat: 제출된 지원서 조회 API에 semesterId 파라미터 추가 * feat: 임시 지원서 조회 API에 semesterId 파라미터 추가 * feat: 지원서 조회 쿼리에 semesterId 파라미터 추가 및 필터링 로직 구현 * test: 지원서 조회 테스트에 semesterId 필터링 테스트 추가 * feat: Jectalk 엔티티 스펙 변경 (#412) * feat: ContentType enum 추가하여 콘텐츠 유형 정의 * feat: Jectalk 엔티티 및 DTO 구조 변경 * feat: JectalkQueryRepository 반환 필드 수정 * test: JectalkQueryRepositoryTest 수정으로 반환 필드 검증 업데이트 * feat: Jectalk 테이블 구조 변경 및 데이터 마이그레이션으로 인한 Flyway migration 추 * feat: Jectalk 테이블 content_type 컬럼 기본값 추가 * feat: Category 필드 및 필터링 추가 * feat: n8n에 지원서 제출 이벤트 발행 기능 추가 (#415) * feat: 제출된 지원서 응답에 지역, 경력 사항, 경험 기간 및 관심 분야 추가 * feat: 지원서 응답에 관심 분야가 null일 경우 빈 리스트로 처리하도록 수정 * feat: 질문에 subtitle 컬럼 추가 및 초기화 쿼리 작성 (#421) --------- Co-authored-by: fad <ojy9406@naver.com>
1 parent e5f8240 commit ecc6a3f

5 files changed

Lines changed: 41 additions & 3 deletions

File tree

src/main/java/org/ject/support/domain/admin/dto/SubmittedApplyResponse.java

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,28 @@
11
package org.ject.support.domain.admin.dto;
22

3-
import java.util.List;
4-
import java.util.Map;
5-
import java.util.Optional;
63
import org.ject.support.domain.apply.domain.ApplicationForm;
74
import org.ject.support.domain.apply.domain.Apply;
85
import org.ject.support.domain.apply.dto.ApplyPortfolioDto;
6+
import org.ject.support.domain.member.CareerDetails;
7+
import org.ject.support.domain.member.ExperiencePeriod;
98
import org.ject.support.domain.member.JobFamily;
9+
import org.ject.support.domain.member.Region;
10+
11+
import java.util.ArrayList;
12+
import java.util.List;
13+
import java.util.Map;
14+
import java.util.Optional;
1015

1116
public record SubmittedApplyResponse(
1217
Long applyId,
1318
String name,
1419
String phoneNumber,
1520
String email,
1621
JobFamily jobFamily,
22+
String region,
23+
String careerDetails,
24+
String experiencePeriod,
25+
List<String> interestedDomains,
1726
boolean hasPortfolio,
1827
ApplicationFormResponse applicationFormResponse
1928
) {
@@ -26,6 +35,18 @@ public static SubmittedApplyResponse from(Apply apply,
2635
apply.getMember().getPhoneNumber(),
2736
apply.getMember().getEmail(),
2837
apply.getMember().getJobFamily(),
38+
Optional.ofNullable(apply.getMember().getRegion())
39+
.map(Region::getDescription)
40+
.orElse(""),
41+
Optional.ofNullable(apply.getMember().getCareerDetails())
42+
.map(CareerDetails::getDescription)
43+
.orElse(""),
44+
Optional.ofNullable(apply.getMember().getExperiencePeriod())
45+
.map(ExperiencePeriod::getDescription)
46+
.orElse(""),
47+
new ArrayList<>(Optional.ofNullable(apply.getMember().getInterestedDomains())
48+
.orElse(List.of())
49+
),
2950
Optional.ofNullable(apply.getApplicationForm())
3051
.map(ApplicationForm::getPortfolios)
3152
.map(portfolioList -> !portfolioList.isEmpty())

src/main/java/org/ject/support/domain/recruit/domain/Question.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ public class Question extends BaseTimeEntity {
4747
@Column(length = 100, nullable = false)
4848
private String title;
4949

50+
@Column(length = 200)
51+
private String subtitle;
52+
5053
@Column(length = 30, nullable = false)
5154
private String label;
5255

src/main/java/org/ject/support/domain/recruit/dto/QuestionResponse.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public record QuestionResponse(Long id,
1313
InputType inputType,
1414
boolean isRequired,
1515
String title,
16+
String subtitle,
1617
String label,
1718
List<String> selectOptions,
1819
String inputHint,

src/main/java/org/ject/support/domain/recruit/repository/QuestionQueryRepositoryImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public List<QuestionResponse> findByJobFamilyOfActiveRecruit(final LocalDateTime
2929
question.inputType,
3030
question.isRequired,
3131
question.title,
32+
question.subtitle,
3233
question.label,
3334
question.selectOptions,
3435
question.inputHint,
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
-- Question 테이블에 subtitle 컬럼 추가
2+
ALTER TABLE question ADD COLUMN subtitle VARCHAR(200) NULL;
3+
4+
-- semester_id가 4이고 job_family가 PD인 recruit의 question 중에서
5+
-- title이 "포트폴리오가 있으시다면 첨부해주세요"인 질문의 subtitle 초기화
6+
UPDATE question q
7+
INNER JOIN recruit r ON q.recruit_id = r.id
8+
SET q.subtitle = '전공, 교육 경험, 부트캠프 수료 등 관련 활동 경험 증빙 문서로 대체 가능합니다.'
9+
WHERE r.semester_id = 4
10+
AND r.job_family = 'PD'
11+
AND q.title = '포트폴리오가 있으시다면 첨부해주세요';
12+

0 commit comments

Comments
 (0)