From 77fbe6a4ab3097f8e77c4723a2e4974c406e01b3 Mon Sep 17 00:00:00 2001 From: yanzai Date: Fri, 17 Oct 2025 23:39:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=A0=BC=E6=A3=80=E6=9F=A5=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=20=E8=B0=83=E6=95=B4=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Laravel/app/Services/Admin/YeWu/AppointmentService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Laravel/app/Services/Admin/YeWu/AppointmentService.php b/Laravel/app/Services/Admin/YeWu/AppointmentService.php index a25ae6f..67b1135 100644 --- a/Laravel/app/Services/Admin/YeWu/AppointmentService.php +++ b/Laravel/app/Services/Admin/YeWu/AppointmentService.php @@ -108,7 +108,7 @@ class AppointmentService $cha_jkz=DB::table('examination_records as a') ->leftJoin('medical_institution as b','a.institution_id','=','b.id') ->select('a.*','b.org_name') - ->where(['a.id_card_num'=>$encode_id_card_num])->orderBy('a.id','desc')->first(); + ->where(['a.id_card_num'=>$encode_id_card_num,'a.is_del'=>0,'a.type'=>$type])->orderBy('a.id','desc')->first(); //,如果有判断是否快到期(先不判断是否体检通过),能否继续预约 if(!!$cha_jkz){