fix: [approval] 영구삭제 File 모델 네임스페이스 오류 수정

- App\Models\File → App\Models\Commons\File 수정
This commit is contained in:
김보곤
2026-03-05 16:57:36 +09:00
parent d0d5a7acd9
commit add05c6546

View File

@@ -240,7 +240,7 @@ public function forceDeleteApproval(int $id): bool
}
// 첨부파일 정리 (files 테이블)
\App\Models\File::where('document_id', $approval->id)
\App\Models\Commons\File::where('document_id', $approval->id)
->where('document_type', 'approval')
->update(['deleted_by' => auth()->id(), 'deleted_at' => now()]);