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

[OING-193] feat: 회원 리얼이모지 familyId 컬럼 추가 및 로직 수정 #152

Merged
merged 7 commits into from
Feb 9, 2024

Conversation

Ji-soo708
Copy link
Member

@Ji-soo708 Ji-soo708 commented Feb 7, 2024

❓ 기능 추가 배경


회원이 그룹 탈퇴를 했을 때를 대비하여, 회원 리얼이모지 테이블에 familyId를 추가하고 로직을 수정했습니다.

➕ 추가/변경된 기능


  • 회원리얼이모지 familyId 컬럼 추가
  • 회원리얼이모지 로직 수정
    • 회원리얼이모지 생성/조회/수정 시, 회원의 familyId를 이용해 처리
  • 수정된 로직에 따라 테스트코드 수정

🥺 리뷰어에게 하고싶은 말


로컬에서 API 호출하면서 회원의 가족이 바뀌어도 적절히 대응함을 확인했는데 리얼이모지 안에서 추가적으로 familyId를 고려해야 하는 기능이 있다면 알려주세요

🔗 참조 or 관련된 이슈


https://no5ing.atlassian.net/browse/OING-193

@Ji-soo708 Ji-soo708 self-assigned this Feb 7, 2024
@Ji-soo708 Ji-soo708 changed the title [OING-193] fix: 회원 리얼이모지 familyId 컬럼 추가 및 로직 수정 [OING-193] feat: 회원 리얼이모지 familyId 컬럼 추가 및 로직 수정 Feb 7, 2024
@Ji-soo708 Ji-soo708 added the ✨ FEATURE 기능 추가 label Feb 7, 2024
@@ -44,10 +44,6 @@ public class Member extends DeletableBaseAuditEntity {
private LocalDateTime familyJoinAt;


public void setProfileImgKey(String profileImgKey) {
Copy link
Member Author

Choose a reason for hiding this comment

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

사용하지 않는 메서드라 삭제했습니다.

Copy link

sonarcloud bot commented Feb 7, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

github-actions bot commented Feb 7, 2024

Test Results

39 files  39 suites   8s ⏱️
91 tests 91 ✅ 0 💤 0 ❌
92 runs  92 ✅ 0 💤 0 ❌

Results for commit fc8b207.

Copy link

github-actions bot commented Feb 7, 2024

Code Coverage

File Coverage [69.85%]
MemberRealEmojiService.java 100% 🍏
MemberRealEmojiController.java 100% 🍏
MemberPostRealEmojiController.java 100% 🍏
Member.java 56.69%
MemberRealEmoji.java 47.92%
Total Project Coverage 52.43% 🍏

Copy link
Member

@CChuYong CChuYong left a comment

Choose a reason for hiding this comment

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

수고하셨습니다

@CChuYong CChuYong merged commit 44b6c4d into dev Feb 9, 2024
4 checks passed
@CChuYong CChuYong deleted the feature/OING-193 branch February 9, 2024 02:47
CChuYong pushed a commit that referenced this pull request Feb 10, 2024
* feature: add familyId column to MemberRealEmoji

* feature: add familyId parameter to MemberRealEmoji logic

* refactor: refact MemberRealEmojiApi logic

* test: fix test error due to added familyId

* style: delete unused method

* test: fix MemberPostRealEmoji test due to added familyId parameter

* test: add getMemberRealEmojis when member quit group
CChuYong pushed a commit that referenced this pull request Feb 11, 2024
* feature: add familyId column to MemberRealEmoji

* feature: add familyId parameter to MemberRealEmoji logic

* refactor: refact MemberRealEmojiApi logic

* test: fix test error due to added familyId

* style: delete unused method

* test: fix MemberPostRealEmoji test due to added familyId parameter

* test: add getMemberRealEmojis when member quit group
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ FEATURE 기능 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants