-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: 통합테스트 템플릿을 활용하도록 수정 * refactor: 리쿠르팅 테이블 정규화 * fix: 조인 정보 추가 * fix: 불필요한 주석 제거 * fix: 빌더 접근 수준 수정 * remove: 불필요한 주석 제거 * refactor: 리쿠르팅 생성 기능 수정 * refactor: 리쿠르팅 조회 기능 수정 * rename: dto 이름 수정 * rename: 로직과 어울리는 이름으로 변경 recruitment를 recruitmentRound로 수정 * rename: 로직과 어울리는 이름으로 변경 recruitment를 recruitmentRound로 수정 * remove: 멤버십의 학년도와 학기 제거 * docs: summary 수정 * feat: 모집회차 수정 api 추가 * remove: 사용하지 않는 메서드 제거 * refactor: 템플릿 메서드 이용하도록 수정 * refactor: errorCode 수정 * refactor: errorCode 수정 * rename: 메서드명 수정 * rename: ErrorCode 메시지 수정 * rename: 변수명 수정 * remove: 서비스에서 사용하지 않는 리쿠르팅 레포지토리 제거 * feat: 로그 추가 * rename: 변수명 수정 * refactor: final 키워드 추가 * remove: 회비 수정 메서드 제거 * refactor: 모집기간을 VO로 받도록 수정 * chore: pr 분리 * rename: 메서드명 변경 * fix: 경로 수정
- Loading branch information
1 parent
6dbd9f5
commit 59b662b
Showing
33 changed files
with
669 additions
and
679 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
src/main/java/com/gdschongik/gdsc/domain/membership/dao/MembershipRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
package com.gdschongik.gdsc.domain.membership.dao; | ||
|
||
import com.gdschongik.gdsc.domain.common.model.SemesterType; | ||
import com.gdschongik.gdsc.domain.member.domain.Member; | ||
import com.gdschongik.gdsc.domain.membership.domain.Membership; | ||
import com.gdschongik.gdsc.domain.recruitment.domain.Recruitment; | ||
import com.gdschongik.gdsc.domain.recruitment.domain.RecruitmentRound; | ||
import java.util.Optional; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface MembershipRepository extends JpaRepository<Membership, Long> { | ||
|
||
Optional<Membership> findByMemberAndAcademicYearAndSemesterType( | ||
Member member, Integer academicYear, SemesterType semesterType); | ||
// Optional<Membership> findByMember(Member member); | ||
|
||
Optional<Membership> findByMemberAndRecruitment(Member member, Recruitment recruitment); | ||
Optional<Membership> findByMemberAndRecruitmentRound(Member member, RecruitmentRound recruitmentRound); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.