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/#43 add author booktalks get api #45

Merged
merged 12 commits into from
Jul 11, 2023

Conversation

dong2ast
Copy link
Collaborator

πŸ“Œ κ΄€λ ¨ 이슈

closed #43

✨ 과제 λ‚΄μš©

  • 아직 λ…Όμ˜κ°€ ν•„μš”ν•œ 사항 : μž‘κ°€μ˜ 뢁토크 리슀트 λ°˜ν™˜μ„ μ–΄λ–»κ²Œ μ²˜λ¦¬ν•  것인지?
  • μž‘κ°€μ˜ 뢁토크 리슀트 λ°˜ν™˜ν•˜λŠ” λ‘œμ§μ€ κ΅¬ν˜„ μ™„λ£Œ
  • λ‚˜μ˜ μ„œμž¬ κΈ°λŠ₯이 없어짐에 따라 ν•„λ“œ 반영
  • [ν…ŒμŠ€νŠΈμš© 데이터도 곧 λ§Œλ“€ μ˜ˆμ •!]

πŸ“Έ μŠ€ν¬λ¦°μƒ·(선택)

πŸ“š 레퍼런슀 (λ˜λŠ” μƒˆλ‘œ μ•Œκ²Œ 된 λ‚΄μš©) ν˜Ήμ€ κΆκΈˆν•œ 사항듀

@dong2ast dong2ast self-assigned this Jul 11, 2023
Comment on lines 100 to 116
public List<MyPageBooktalkDto> getAuthorByMemberId(Long memberId) {
List<MemberBooktalk> authorBookTalkList = getMemberById(memberId).getUserBookTalkList();
List<MyPageBooktalkDto> booktalkResponseDtoList = new ArrayList<>();
authorBookTalkList.forEach(memberBooktalk -> {
Booktalk booktalk = memberBooktalk.getBooktalk();
booktalkResponseDtoList.add(MyPageBooktalkDto.builder()
.booktalkId(booktalk.getId())
.booktalkImageUrl(booktalk.getBooktalkImageUrl())
.title(booktalk.getTitle())
.author(booktalk.getAuthor().getName())
.startDate(booktalk.getStartDate())
.endDate(booktalk.getEndDate())
.place(booktalk.getPlace().getName())
.participant(booktalk.getParticipantList().size())
.maximum(booktalk.getMaximum())
.booktalkStatus(booktalk.getBooktalkStatus())
.build());
Copy link
Member

Choose a reason for hiding this comment

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

getAuthorByMemberIdλΌλŠ”κ²Œ λ­”κ°€ 이름이 λͺ¨ν˜Έν•œκ±° 같은데, μž‘κ°€κ°€ μžκΈ°κ°€ κ°œμ„€ν•œ 뢁토크 리슀트λ₯Ό μ‘°νšŒν•˜λŠ”κ²Œ λ§žμ„κΉŒμš”?
μ•„λ‹ˆλ©΄ μ‹ μ²­ν•œ 뢁토크도 같이 λ³΄μ΄λŠ”κ±΄κ°€μš”?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

μ΄κ±°λŠ” μž‘κ°€κ°€ κ°œμ„€ν•œ 뢁토크 리슀트 λ°›μ•„μ˜€λŠ” λ©”μ„œλ“œμž…λ‹ˆλ‹€!
λ·° μƒμœΌλ‘œ μ‹ μ²­ν•œ 뢁토크와 뢁토크 관리가 λ‚˜λ‰˜μ–΄ 있던 것 κ°™μ•„μ„œ λ©”μ„œλ“œλ„ λ‚˜λˆ μ„œ μƒμ„±ν–ˆμŠ΅λ‹ˆλ‹€~

@dong2ast dong2ast merged commit b41987c into main Jul 11, 2023
@dong2ast dong2ast deleted the feat/#43-add-author-booktalks-get-api branch July 11, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] μž‘κ°€ 뢁토크 쑰회
2 participants