diff --git a/app/adminapi/logic/build/BuildReportLogic.php b/app/adminapi/logic/build/BuildReportLogic.php index ff86fad81..adc3ab011 100644 --- a/app/adminapi/logic/build/BuildReportLogic.php +++ b/app/adminapi/logic/build/BuildReportLogic.php @@ -51,7 +51,7 @@ class BuildReportLogic extends BaseLogic $reportRes = BuildReport::create([ 'report_code' => data_unique_code('施工汇报'), 'plan_id' => $params['plan_id'], - 'scene_file' => !empty($params['scene_file']) ? $params['scene_file'] : null, + 'scene_file' => !empty($params['scene_file']) ? json_encode($params['scene_file']) : null, 'report_workload' => $params['report_workload'], 'report_amount' => $params['report_amount'], 'remark' => $params['remark'],