|
|
|
|
@ -118,7 +118,7 @@ public function CheckAppointment($name,$id_card_num,$type,$currentOrgName='',$do
|
|
|
|
|
if ($date > $now) {
|
|
|
|
|
$conflictService = app()->make(\App\Services\ConflictService::class);
|
|
|
|
|
$conflictService->logConflict($name, $encode_id_card_num, $currentOrgName,$doctor_name, $cha_jkz->org_name, $cha_jkz->created_at, $type, 'CheckAppointment');
|
|
|
|
|
return \Yz::Return(false,'该人员已于'.$cha_jkz->created_at.'在'.$cha_jkz->org_name.'登记');
|
|
|
|
|
return \Yz::ReturnNew(false,'该人员已于'.$cha_jkz->created_at.'在'.$cha_jkz->org_name.'登记');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//查询是否有预约记录
|
|
|
|
|
|