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

[FEAT] 경기 목록 조회 라운드, 팀 아이디로도 조회할 수 있도록 수정 #118

Merged
merged 16 commits into from
Mar 1, 2024

Conversation

Jin409
Copy link
Contributor

@Jin409 Jin409 commented Feb 27, 2024

🌍 이슈 번호

📝 구현 내용

  • 리그팀으로 조회 기능 구현
  • 라운드로 조회 기능 구현
  • game 엔티티에 round 컬럼 추가

🍀 확인해야 할 부분

  • 사용되지 않는 GamesQueryConditionMapper.mapOrderCondition() 를 우선 뒀는데 삭제할까요 아니면 그대로 두는 게 나을까요?

@Jin409 Jin409 changed the title [REFACTOR] 컬럼명에 맞춰 status -> state 로 변경 #109 [FEAT] 경기 목록 조회 라운드, 팀 아이디로도 조회할 수 있도록 수정 Feb 29, 2024
@Jin409 Jin409 marked this pull request as ready for review February 29, 2024 14:38
@Jin409 Jin409 requested a review from ldk980130 February 29, 2024 14:38
Copy link
Contributor

@ldk980130 ldk980130 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다! 테스트 작성에 시간을 많이 쓴 PR 같네요.. 머지해도 될 것 같습니다~

Comment on lines +41 to +44
.and(() -> game.sport.id.in(gamesQueryRequestDto.getSportIds()))
.and(() -> game.round.in(gamesQueryRequestDto.getRound()))
.and(() -> game.id.in(
gameTeamDynamicRepository.findAllByLeagueTeamIds(gamesQueryRequestDto.getLeagueTeamIds())));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

엄청 복잡한 쿼리 괴물이 만들어지는 중... ㅋㅋㅋㅋㅋ

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ㅠ,ㅠ....

@Jin409 Jin409 merged commit d67b0a7 into main Mar 1, 2024
1 check passed
@Jin409 Jin409 deleted the feature/#109-games branch March 1, 2024 12:08
@Jin409 Jin409 self-assigned this Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 경기 목록 조회 라운드, 팀 아이디로도 조회할 수 있도록 수정
2 participants