Browse Source

去掉面试健康信息

sandm 2 years ago
parent
commit
fd01bddf08
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Web/Recruit/IndexController.php

+ 1 - 1
app/Http/Controllers/Web/Recruit/IndexController.php

@@ -1383,7 +1383,7 @@ class IndexController extends WebBaseController
             $face_ticket = RecruitTicket::where('appoint_id',$appoint_info->id)->where('ex_type',3)->first();
             $face_ticket = RecruitTicket::where('appoint_id',$appoint_info->id)->where('ex_type',3)->first();
             if($face_ticket){
             if($face_ticket){
                 $health = RecruitSupplement::where('appoint_id',$appoint_info->id)->first();
                 $health = RecruitSupplement::where('appoint_id',$appoint_info->id)->first();
-                if(!$health || $health->h_status == 0){
+                if((!$health || $health->h_status == 0) && $recruit->pen_epidemic){
                     return $this->showMessage('健康审核信息未通过!', route('home'), true, '上一页', '3');
                     return $this->showMessage('健康审核信息未通过!', route('home'), true, '上一页', '3');
                 }
                 }
                 $time = time();
                 $time = time();