diff --git a/app/Services/PatientFamilyService.php b/app/Services/PatientFamilyService.php index d0f90a4..bad5110 100644 --- a/app/Services/PatientFamilyService.php +++ b/app/Services/PatientFamilyService.php @@ -594,7 +594,7 @@ class PatientFamilyService extends BaseService // 修改 $data = array(); if (isset($request_params['is_allergy_history'])){ - if ($request_params['is_allergy_history'] != $patient_family_personal['is_allergy_history']){ + if ($request_params['is_allergy_history'] !== $patient_family_personal['is_allergy_history']){ // 是否存在过敏史(0:否 1:是) $data['is_allergy_history'] = $request_params['is_allergy_history']; }