From 7f5a1f1192bc025262c174fb465ce9ea097dee56 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Thu, 20 Apr 2023 10:21:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=97=85=E4=BE=8B=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/InquiryService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/InquiryService.php b/app/Services/InquiryService.php index febdc66..7b84602 100644 --- a/app/Services/InquiryService.php +++ b/app/Services/InquiryService.php @@ -377,8 +377,8 @@ class InquiryService extends BaseService $params['family_id'] = $order_inquiry_case['family_id']; $patient_family_health = PatientFamilyHealth::getOne($params); $order_inquiry_case['diagnosis_hospital'] = $patient_family_health['diagnosis_hospital'] ?? ""; - $order_inquiry_case['is_take_medicine'] = $patient_family_health['is_take_medicine'] ?: 0; - $order_inquiry_case['drugs_name'] = $patient_family_health['drugs_name'] ?: ""; + $order_inquiry_case['is_take_medicine'] = $patient_family_health['is_take_medicine'] ?? 0; + $order_inquiry_case['drugs_name'] = $patient_family_health['drugs_name'] ?? ""; // 获取患者家庭成员信息表-个人情况 $params = array();