diff --git a/app/Services/PatientCaseService.php b/app/Services/PatientCaseService.php index 4151ccf..bca8717 100644 --- a/app/Services/PatientCaseService.php +++ b/app/Services/PatientCaseService.php @@ -513,7 +513,9 @@ class PatientCaseService extends BaseService $case_fields = []; foreach ($request_params['fields'] as $key => $value){ if (!in_array($key,$fields)){ - return fail(HttpEnumCode::HTTP_ERROR,"存在非法数据"); + if ($key != "order_inquiry_id"){ + return fail(HttpEnumCode::HTTP_ERROR,"存在非法数据"); + } } $case_fields[$key] = $value;