문제 해결
This commit is contained in:
parent
9eed3eb710
commit
71beae8e24
|
|
@ -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>(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue