feat: [품질관리] order_ids 영속성 + location 데이터 저장
- StoreRequest/UpdateRequest에 order_ids 검증 추가 - UpdateRequest에 locations 검증 추가 (시공규격, 변경사유, 검사데이터) - QualityDocumentLocation에 inspection_data(JSON) fillable/cast 추가 - QualityDocumentService store()에 syncOrders 연동 - QualityDocumentService update()에 syncOrders + updateLocations 연동 - inspection_data 컬럼 추가 migration 신규 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,6 +31,8 @@ public function rules(): array
|
||||
'options.material_distributor' => ['nullable', 'array'],
|
||||
'options.contractor' => ['nullable', 'array'],
|
||||
'options.supervisor' => ['nullable', 'array'],
|
||||
'order_ids' => ['nullable', 'array'],
|
||||
'order_ids.*' => ['integer', 'exists:orders,id'],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user