|
@@ -116,7 +116,13 @@ class IndexController extends WebBaseController
|
|
|
$face_ticket = RecruitTicket::where('appoint_id',$appoint_info->id)->where('ex_type',3)->first();
|
|
|
|
|
|
if($face_ticket && $appoint_info->face_audit == -1){
|
|
|
- $appoint_info->face_ticket = 1;
|
|
|
+ $face_health = RecruitSupplement::where("appoint_id",$appoint_info->id)->where("type","face")->where('h_status',1)->first();
|
|
|
+ if(!$face_health){
|
|
|
+ $appoint_info->face_ticket = -2;
|
|
|
+ }else{
|
|
|
+ $appoint_info->face_ticket = 1;
|
|
|
+ }
|
|
|
+
|
|
|
}else{
|
|
|
$appoint_info->face_ticket = 0;
|
|
|
}
|