From 7246d840b03dddd64f2091917931aa9f32eabfdd Mon Sep 17 00:00:00 2001 From: yanzai Date: Thu, 21 Nov 2024 09:41:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E6=97=A0=E6=AD=A4=E4=BA=BA=20?= =?UTF-8?q?=E5=88=99=E8=BF=9B=E8=A1=8C=E6=8B=A6=E6=88=AA=EF=BC=8C=E6=AD=A4?= =?UTF-8?q?=E5=89=8D=E8=A6=81=E6=B1=82=EF=BC=9A=E5=A6=82=E6=9E=9C=E5=85=AC?= =?UTF-8?q?=E5=8D=AB=E8=BF=94=E5=9B=9E=E2=80=9C=E6=9F=A5=E6=97=A0=E6=AD=A4?= =?UTF-8?q?=E4=BA=BA=E2=80=9D=E5=88=99=E5=85=81=E8=AE=B8=E4=BD=93=E6=A3=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Laravel/app/Services/Admin/YeWu/AppointmentService.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Laravel/app/Services/Admin/YeWu/AppointmentService.php b/Laravel/app/Services/Admin/YeWu/AppointmentService.php index 000d8cc..18fbedd 100644 --- a/Laravel/app/Services/Admin/YeWu/AppointmentService.php +++ b/Laravel/app/Services/Admin/YeWu/AppointmentService.php @@ -174,6 +174,12 @@ class AppointmentService return $result; } $result=[]; + if(isset($res['queryCheckUp']['zt']) and $res['queryCheckUp']['zt']=="查无此人"){ + $result['status']=false; + $result['msg']='查无此人,未建档或姓名、身份证号与公卫档案不符'; + $result['GongWeiinfo']=$res['queryCheckUp']; + return $result; + } if(isset($res['queryCheckUp']['tjrq']) and ($res['queryCheckUp']['tjrq']>=$firstDay and $res['queryCheckUp']['tjrq']<=$lastDay)){ //判断老年人体检字段 if(isset($res['queryCheckUp']['sflnrtj']) and $res['queryCheckUp']['sflnrtj']==1){