issues
search
f-lab-edu
/
show-ticketing-service
[초봉 3000 후반 신입]다양한 공연 정보를 제공하며 예매를 할 수 있는 서비스
9
stars
3
forks
source link
[#36] 공연 정보 삭제 기능 구현
#86
Closed
hanwix2
closed
3 years ago
hanwix2
commented
3 years ago
개요
DELETE 메소드를 이용하여 기존에 존재하는 공연 정보 삭제
관리자 권한
Progress
삭제할 공연 id(performanceId)를 PathVariable로 받음
삭제 전 유효한 공연인지 검사 진행
공연이 삭제되면 해당 공연에 관련된 데이터는
ON DELETE CASCADE
가 적용되어 자동으로 모두 삭제 됨
관련 데이터
: 좌석가격(seatPrice), 공연스케줄(performanceTime), 좌석정보(seat)
개요
Progress