cqpCow 1 년 전
부모
커밋
bc1fd89f21
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Service/ConstructionService.php

+ 1 - 1
app/Service/ConstructionService.php

@@ -256,7 +256,7 @@ class ConstructionService extends Service
                 foreach ($data['file'] as $value){
                     $insert[] = [
                         'order_number' => $data['order_number'],
-                        'construction_id' => $data['id'],
+                        'construction_id' => $model->id,
                         'file' => $value['url'],
                         'name' => $value['name'],
                         'mark' => $value['mark'] ?? "",