Skip to content
Merged
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 @@ -48,8 +48,10 @@ public TableLayoutResDto.LayoutDetailDto createLayout(
throw new TableLayoutException(TableLayoutErrorStatus._CANNOT_DELETE_LAYOUT_WITH_FUTURE_BOOKINGS);
}

// 미래 예약이 없으면 배치도 비활성화 후 재생성
// 미래 예약이 없으면 배치도와 속해있는 테이블 삭제 (soft delete)
tableLayoutRepository.delete(existingLayout.get());

tableLayoutRepository.flush();
}

// 새 배치도 생성
Expand Down