Skip to content

Conversation

@hyoseong-Choi
Copy link
Collaborator

📄 요약(Summary)

카테고리 삭제 API 구현

✍🏼 상세(More)

PR Desciption

변경 사항 설명

  • 카테고리 삭제 기능 soft delete로 구현
  • 삭제요청들어오면 요청한 관리자와 is_deleted만 수정

Requirements for Reviewer

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요
ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

PR Log

PR 작업하면서 고민했던 내용, 해결한 내용, 고민 중인 내용 등

새롭게 배운 것

고민 중인 사항

첨부 자료

Requirements for Reviewer

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

✅ 체크리스트(Checklist)

  • PR 양식에 맞게 작성했습니다
  • 모든 테스트가 통과했습니다
  • 프로그램이 정상적으로 작동합니다
  • 적절한 PR 라벨을 설정했습니다
  • 불필요한 코드를 제거했습니다

🚪 이슈 번호(Issue numbers)

Closes #120

Copy link
Collaborator

@starboxxxx starboxxxx left a comment

Choose a reason for hiding this comment

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

고생하셨습니다

Copy link
Contributor

@joowojr joowojr left a comment

Choose a reason for hiding this comment

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

수고하셨습니다! 리뷰 확인해주세요

@Override
@Transactional
public void deleteCategory(Long adminId, Long categoryId) {
Member admin = loadMemberPort.findActiveMemberById(adminId).orElseThrow(() -> new ApplicationException(ACTIVE_MEMBER_NOT_FOUND));
Copy link
Contributor

Choose a reason for hiding this comment

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

Memberservice, CategoryService에 동일한 메서드들이 있어서 사용해주시면 좋을것 같아요!

@Tag(name = "05. Admin")
@WebAdapter
@RequiredArgsConstructor
@RequestMapping("/api/management")
Copy link
Contributor

Choose a reason for hiding this comment

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

/managements로 수정부탁드립니다!

@hyoseong-Choi hyoseong-Choi merged commit 3b46d6f into develop Jan 30, 2025
1 check passed
@hyoseong-Choi hyoseong-Choi deleted the CLAP-148 branch January 30, 2025 12:47
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.

CLAP-148 카테고리 삭제 API

6 participants