From d55acadcd011423a006c14fb90a365eaaebcad14 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Tue, 9 May 2023 19:56:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=901?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/PatientFamilyService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; }