Skip to content

Feat: 관리자 게시물 고정/영구삭제#132

Merged
YoonTaeMinnnn merged 17 commits intodevfrom
feat/admin
Apr 25, 2023
Merged

Feat: 관리자 게시물 고정/영구삭제#132
YoonTaeMinnnn merged 17 commits intodevfrom
feat/admin

Conversation

@YoonTaeMinnnn
Copy link
Contributor

@YoonTaeMinnnn YoonTaeMinnnn commented Apr 25, 2023

주요 작업 내용

관리자 페이지에서의 게시물 고정/고정해제, 영구삭제 기능을 구현
게시글 상세 조회 페이지 구현

작업 내용

  • 전체 선택 - 고정, 고정해제, 영구삭제
  • 예외 처리
  • 고정 게시글을 상단으로 정렬

변경점

  • 변경 내용
  • board 테이블에서 board_code 테이블에 대해 cascade 속성을 추가하여 함께 삭제 가능하도록 변경함

CheckList

  • CI를 통과했나요?
  • 리뷰어를 등록했나요?
  • 참고 레퍼런스가 있을 경우, PR 혹은 댓글로 남겼나요?

Copy link
Member

Choose a reason for hiding this comment

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

이 부분을 service 레이어에서 처리하는 걸로 변경하면 어떨까요? 각 레이어의 역할을 명확히 하는 것이 의존성을 낮출 수 있을 거 같습니다!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

넵 확인했습니다!!

MoonMinHyuk1
MoonMinHyuk1 previously approved these changes Apr 25, 2023
Copy link
Contributor

@MoonMinHyuk1 MoonMinHyuk1 left a comment

Choose a reason for hiding this comment

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

전부 확인했습니다! 고생하셨어요~!

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@YoonTaeMinnnn YoonTaeMinnnn merged commit ccb62e9 into dev Apr 25, 2023
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.

3 participants

Comments