From 739286e54a5989038c6ee28325bf6cd0d4d84c8d Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Thu, 20 Apr 2023 18:42:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=97=85=E4=BE=8B=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E4=BF=A1=E6=81=AF?= 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 9158d4a..1bcfc30 100644 --- a/app/Services/PatientFamilyService.php +++ b/app/Services/PatientFamilyService.php @@ -339,7 +339,7 @@ class PatientFamilyService extends BaseService } // 检测姓名是否重复 - if ($value['card_name'] != $request_params['card_name']) { + if ($value['card_name'] == $request_params['card_name']) { // 姓名改变 检测是否与其他家庭成员姓名重复 return fail(HttpEnumCode::HTTP_ERROR, "姓名重复"); }