|  | @@ -2091,9 +2091,7 @@ class RecruitController extends Controller
 | 
	
		
			
				|  |  |          //$where[] = ['recruit_appoint_info.audit','=',3];
 | 
	
		
			
				|  |  |          $where[] = ['recruit_appoint_info.recruit_id', '=', $recruit_id];
 | 
	
		
			
				|  |  |          //$where[] = ['recruit_appoint_info.realname', 'in', ['肖思乐','张金铭','黄奖白','何佳鹏','李光祺','陈丽虹','卢江伟']];
 | 
	
		
			
				|  |  | -        if(!empty($realname)){
 | 
	
		
			
				|  |  | -            $where[] = ['recruit_appoint_info.realname', 'in', explode(',',$realname)];
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  //        $param = parse_url($data['where']);
 | 
	
		
			
				|  |  |  //        parse_str($param['query'],$param);
 | 
	
		
			
				|  |  |  //        if (is_array($param)) {
 | 
	
	
		
			
				|  | @@ -2107,7 +2105,12 @@ class RecruitController extends Controller
 | 
	
		
			
				|  |  |  //            }
 | 
	
		
			
				|  |  |  //        }
 | 
	
		
			
				|  |  |          $select = ['recruit_appoint_info.*', 'recruit_post.code', 'recruit_post.name'];
 | 
	
		
			
				|  |  | -        $model = RecruitAppointInfo::where($where)->join('recruit_post', 'recruit_appoint_info.post_id', '=', 'recruit_post.id', 'left');
 | 
	
		
			
				|  |  | +        if(!empty($realname)){
 | 
	
		
			
				|  |  | +            $model = RecruitAppointInfo::where($where)->whereIn('recruit_appoint_info.realname',explode(',',$realname))->join('recruit_post', 'recruit_appoint_info.post_id', '=', 'recruit_post.id', 'left');
 | 
	
		
			
				|  |  | +        }else{
 | 
	
		
			
				|  |  | +            $model = RecruitAppointInfo::where($where)->join('recruit_post', 'recruit_appoint_info.post_id', '=', 'recruit_post.id', 'left');
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          if(in_array('expand_special',explode(',', $recruit->forms))){
 | 
	
		
			
				|  |  |              $model->join('recruit_appoint_expand_special', 'recruit_appoint_expand_special.recruit_appoint_id', '=', 'recruit_appoint_info.id', 'left');
 | 
	
		
			
				|  |  |              $special_select = ['recruit_appoint_expand_special.point_apply','recruit_appoint_expand_special.condition','recruit_appoint_expand_special.material'];
 | 
	
	
		
			
				|  | @@ -2122,6 +2125,7 @@ class RecruitController extends Controller
 | 
	
		
			
				|  |  |          $list = $model->select($select)
 | 
	
		
			
				|  |  |              ->orderBy('recruit_appoint_info.updated_at','desc')
 | 
	
		
			
				|  |  |              ->get();
 | 
	
		
			
				|  |  | +        dd($list);die;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          if(!is_dir(base_path() . "/storage/app/public/recruit/zip")){
 | 
	
		
			
				|  |  |              Storage::makeDirectory("public/recruit/zip");
 |