|
@@ -703,6 +703,12 @@ class IndexController extends WebBaseController
|
|
|
|
|
|
$appointinfo_exist = RecruitAppointInfo::where('card',$card)->where('uid','<>',$uid)->where('recruit_id',$recruit_id)->first();
|
|
|
|
|
|
+ //兆丰建设两场公告二而一例外
|
|
|
+ if($recruit_id == 25 || $recruit_id == 26){
|
|
|
+ $special = RecruitAppointInfo::where('card',$card)->where('uid','<>',$uid)->whereIn('recruit_id',[25,26])->first();
|
|
|
+ $appointinfo_exist = $appointinfo_exist & $special;
|
|
|
+ }
|
|
|
+
|
|
|
if($appointinfo_exist){
|
|
|
return response()->json(['status' => 0,'msg' => '您的证件已有其他账号的报名记录,请检查!']);
|
|
|
}
|