From bd24b973f69e9b09f7411e7d44493bd3e94b0a9c Mon Sep 17 00:00:00 2001 From: yanzai Date: Thu, 17 Oct 2024 14:53:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=81=A5=E5=BA=B7=E8=AF=81=E8=87=AA=E8=B4=B9?= =?UTF-8?q?=20=E4=B8=8D=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E6=9C=89?= =?UTF-8?q?=E9=A2=84=E7=BA=A6=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Http/Controllers/API/Admin/YeWu/AppointmentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Laravel/app/Http/Controllers/API/Admin/YeWu/AppointmentController.php b/Laravel/app/Http/Controllers/API/Admin/YeWu/AppointmentController.php index 2040175..b5db2a2 100644 --- a/Laravel/app/Http/Controllers/API/Admin/YeWu/AppointmentController.php +++ b/Laravel/app/Http/Controllers/API/Admin/YeWu/AppointmentController.php @@ -50,7 +50,7 @@ class AppointmentController extends Controller $c=DB::table('appointment_record as a') ->where([['a.id_card_num','=',$info['id_card_num']],['a.is_del','=',0],['a.fee_type','=',0],['a.created_at','>=',$firstDay],['a.created_at','<=',$lastDay]])->get(); if(count($c)>0){ - if($c[0]->status==2){ + if($c[0]->status==2 and $info['fee_type']==0){ return \Yz::Return(false,'本年度已经有体检登记记录',['info'=>$c]); }