develop #1

Merged
jspark merged 6 commits from develop into master 2026-06-23 15:26:23 +09:00
Showing only changes of commit f428e1241b - Show all commits

View File

@@ -340,12 +340,6 @@ public class AssignService {
errors.add(ExcelErrorDto.of(rowNumber, "사용자 ID", "존재하지 않는 사용자 ID입니다."));
}
if (StringUtil.hasText(userId)
&& performanceId != null
&& performanceAssignRepository.existsByAssignUserAndPerformanceIdNot(userId, performanceId)) {
errors.add(ExcelErrorDto.of(rowNumber, "사용자 ID", "이미 다른 사업에 배정된 사용자입니다."));
}
return errors;
}
@@ -369,11 +363,6 @@ public class AssignService {
throw BusinessException.notFound("USER_NOT_FOUND", "존재하지 않는 사용자 ID입니다.")
.with("userId", userId);
}
if (performanceAssignRepository.existsByAssignUserAndPerformanceIdNot(userId, performanceId)) {
throw BusinessException.conflict("ASSIGN_ALREADY_EXISTS", "이미 다른 공연에 배정된 사용자입니다.")
.with("performanceId", performanceId)
.with("assignUser", userId);
}
}
private boolean hasReview(TPerformanceAssignEntity assign) {