This commit is contained in:
weiz 2024-01-25 09:21:01 +08:00
parent 2381892c9b
commit 003a8baa4a

View File

@ -47,7 +47,7 @@ class BuildProcessSettingsLogic extends BaseLogic
'process_step_no' => $params['process_step_no'], 'process_step_no' => $params['process_step_no'],
'process_step' => $params['process_step'], 'process_step' => $params['process_step'],
'quality_control_points' => $params['quality_control_points'], 'quality_control_points' => $params['quality_control_points'],
'file' => $params['file']? json_encode($params['file']) : null, 'file' => !empty($params['file']) ? json_encode($params['file']) : null,
'add_user' => $admin_id, 'add_user' => $admin_id,
'update_user' => $admin_id, 'update_user' => $admin_id,
]); ]);
@ -77,7 +77,7 @@ class BuildProcessSettingsLogic extends BaseLogic
'process_step_no' => $params['process_step_no'], 'process_step_no' => $params['process_step_no'],
'process_step' => $params['process_step'], 'process_step' => $params['process_step'],
'quality_control_points' => $params['quality_control_points'], 'quality_control_points' => $params['quality_control_points'],
'file' => $params['file']? json_encode($params['file']) : null, 'file' => !empty($params['file']) ? json_encode($params['file']) : null,
'update_user' => $admin_id, 'update_user' => $admin_id,
'update_time' => time(), 'update_time' => time(),
]); ]);