260923_01_ENH: 잘 못된 validation제거

This commit is contained in:
2026-09-23 10:49:03 +09:00
parent b1a3a9d023
commit 8904732b80
2 changed files with 0 additions and 6 deletions

View File

@@ -18,8 +18,6 @@ public interface PerformanceAssignRepository extends JpaRepository<TPerformanceA
boolean existsByIdPerformanceIdAndAssignUser(String performanceId, String assignUser);
boolean existsByAssignUserAndIdPerformanceIdNot(String assignUser, String performanceId);
Optional<TPerformanceAssignEntity> findByIdPerformanceIdAndIdReviewSlot(
String performanceId,
Integer reviewSlot

View File

@@ -152,10 +152,6 @@ public class AssignService {
.with("performanceId", performanceId)
.with("assignUser", assignUser);
}
if (performanceAssignRepository.existsByAssignUserAndIdPerformanceIdNot(assignUser, performanceId)) {
throw BusinessException.conflict("ASSIGN_USER_ALREADY_CONFIRMED", "다른 공연에 이미 확정된 사용자입니다.")
.with("assignUser", assignUser);
}
if (entity == null) {
entity = new TPerformanceAssignEntity();