This commit is contained in:
weiz 2024-01-25 10:26:20 +08:00
parent 67bcefccb2
commit 33fb157856

View File

@ -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'],