문제 해결

This commit is contained in:
dohyeons 2025-10-28 13:42:23 +09:00
parent 9eed3eb710
commit 71beae8e24
1 changed files with 4 additions and 1 deletions

View File

@ -449,7 +449,10 @@ export class BatchService {
// 기존 배치 설정 확인 (회사 권한 체크 포함)
const existing = await this.getBatchConfigById(id, userCompanyCode);
if (!existing.success) {
return existing as ApiResponse<void>;
return {
success: false,
message: existing.message,
};
}
const existingConfig = await queryOne<any>(