260923_01_ENH: 잘 못된 validation제거
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user