문제 해결
This commit is contained in:
@@ -449,7 +449,10 @@ export class BatchService {
|
|||||||
// 기존 배치 설정 확인 (회사 권한 체크 포함)
|
// 기존 배치 설정 확인 (회사 권한 체크 포함)
|
||||||
const existing = await this.getBatchConfigById(id, userCompanyCode);
|
const existing = await this.getBatchConfigById(id, userCompanyCode);
|
||||||
if (!existing.success) {
|
if (!existing.success) {
|
||||||
return existing as ApiResponse<void>;
|
return {
|
||||||
|
success: false,
|
||||||
|
message: existing.message,
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
const existingConfig = await queryOne<any>(
|
const existingConfig = await queryOne<any>(
|
||||||
|
|||||||
Reference in New Issue
Block a user