Skip to content
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 @@ -81,7 +81,7 @@ public void deleteMember(Long memberId) {
@Transactional(readOnly = true)
public MemberDetail getMemberDetail(Long memberId) {
Member member = memberQueryService.getValidMember(memberId);
TripCount tripCount = tripQueryService.getActiveTripCountsByMemberId(memberId);
TripCount tripCount = tripQueryService.getActiveTripCountByMemberId(memberId);
long studyLogCount = studyLogQueryService.getActiveStudyLogCountByMemberId(memberId);

MemberInfo memberInfo = MemberInfo.from(member);
Expand Down Expand Up @@ -163,11 +163,11 @@ private void cascadeHardDeleteByMemberId(Long memberId) {
pomodoroCommandService.hardDeletePomodorosOwnedByMember(memberId);
studyLogCommandService.hardDeleteStudyLogsOwnedByMember(memberId);
dailyMissionCommandService.hardDeleteDailyMissionsOwnedByMember(memberId);
dailyGoalCommandService.hardDeleteDailyGoalsByMember(memberId);
dailyGoalCommandService.hardDeleteDailyGoalsOwnedByMember(memberId);

missionCommandService.hardDeleteMissionsOwnedByMember(memberId);
stampCommandService.hardDeleteStampsByMember(memberId);
tripCommandService.hardDeleteTripsByMember(memberId);
stampCommandService.hardDeleteStampsOwnedByMember(memberId);
tripCommandService.hardDeleteTripsOwnedByMember(memberId);
memberCommandService.hardDeleteMemberById(memberId);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public static LoadMemberDetailResponse of(
memberInfo.nickname(),
memberInfo.profileImage(),
memberInfo.category(),
tripCount.course(),
tripCount.explore(),
tripCount.getCourse(),
tripCount.getExplore(),
studyLogCount);
}
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading