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

Refactor/68 get user info with keyword #69

Merged
merged 9 commits into from
Jan 12, 2023

Conversation

ChooSeoyeon
Copy link
Member

@ChooSeoyeon ChooSeoyeon commented Jan 11, 2023

📌 관련 이슈

close #68

✨ 작업 내용

(키워드 반환)

  • memberId로 memberKeyword의 컬럼들을 찾음 -> 해당 해원의 키워드들
  • 찾은 컬럼에서 keywordId 리스트를 얻음
  • keywordId로 keyword map에서 keywordName를 얻음 -> 키워드 이름 리스트를 얻음
  • 키워드 이름 리스트를 반환함

(필요한 속성만 반환)

  • 작가/회원에 따라 필요한 속성만 반환함

📚 기타

@ChooSeoyeon ChooSeoyeon self-assigned this Jan 11, 2023
@ChooSeoyeon ChooSeoyeon linked an issue Jan 11, 2023 that may be closed by this pull request
2 tasks
.build();

return memberResponse;
}

@Transactional(readOnly = true)
public List<String> getKeywordName(Long memberId) {
Copy link
Contributor

Choose a reason for hiding this comment

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

KeywordMap에 로직을 포함할 수 있다면 좋을 것 같아요!

Copy link
Contributor

@Gyubam Gyubam left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

keywordNameList.add(entry.getKey());
}
}
keywordNameList.add(KeywordMap.getKeywordName(keywordId));
Copy link
Contributor

Choose a reason for hiding this comment

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

깔끔해져서 보기 편하네용

@ChooSeoyeon ChooSeoyeon merged commit 247a66d into develop Jan 12, 2023
@ChooSeoyeon ChooSeoyeon deleted the Refactor/68-get-user-info-with-keyword branch January 12, 2023 16:35
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.

[Refactor] 회원 정보 조회 시 keyword 반환 기능 추가
3 participants