This commit is contained in:
wucongxing 2023-05-09 19:56:27 +08:00
parent 9014bbd5c1
commit d55acadcd0

View File

@ -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'];
}