Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix : error fix prod server #322

Merged
merged 2 commits into from
Jul 23, 2024
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 @@ -31,6 +31,7 @@ public class MyPrivateMatchingResponse {
// 어떤 이력/소개서에 매칭 요청을 보냈는지
private final boolean isRequestTeamProfile;

// 내가 매칭 요청 보낸 것
public static List<MyPrivateMatchingResponse> myPrivateMatchingResponseList(
final List<PrivateMatching> privateMatchingList
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,12 +289,13 @@ public List<RequestMatchingResponse> getMyRequestMatching(final Long memberId) {
List<MyPrivateMatchingResponse> myPrivateMatchingResponseList = Collections.emptyList();
List<MyTeamMatchingResponse> myTeamMatchingResponseList = Collections.emptyList();


// 내 이력서에 매칭 요청 보낸 것
if (profileRepository.existsByMemberId(memberId)) {
final List<PrivateMatching> privateMatchingList = privateMatchingRepository.findByMemberIdAndMatchingStatus(memberId);
myPrivateMatchingResponseList = MyPrivateMatchingResponse.myPrivateMatchingResponseList(privateMatchingList);
}

// 내가 팀 소개서에 매칭 요청 보낸 것
if (teamProfileRepository.existsByMemberId(memberId)) {
final List<TeamMatching> teamMatchingList = teamMatchingRepository.findByMemberIdAndMatchingStatus(memberId);
myTeamMatchingResponseList = MyTeamMatchingResponse.myTeamMatchingResponses(teamMatchingList);
Expand Down
Loading