|
@@ -2087,9 +2087,9 @@ class RecruitController extends Controller
|
|
|
|
|
|
//$data = $request->all();
|
|
|
$where = [];
|
|
|
- $where[] = ['recruit_appoint_info.audit','=',3];
|
|
|
+ //$where[] = ['recruit_appoint_info.audit','=',3];
|
|
|
$where[] = ['recruit_appoint_info.recruit_id', '=', $recruit_id];
|
|
|
- $where[] = ['recruit_appoint_info.realname', 'in', ['廖赐艺','吴鑫','庄惠阳','傅承恩','游美','吴维灵','许世芳','林非余','黄其森','徐阳雍','郑金埭','王俊龙','张询','吴晓瑜','王传晔','许宏焱','李焕金','许雅玲','陈月超']];
|
|
|
+ //$where[] = ['recruit_appoint_info.realname', 'in', ['肖思乐','张金铭','黄奖白','何佳鹏','李光祺','陈丽虹','卢江伟']];
|
|
|
// $param = parse_url($data['where']);
|
|
|
// parse_str($param['query'],$param);
|
|
|
// if (is_array($param)) {
|
|
@@ -2103,7 +2103,7 @@ 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')->join('recruit_ticket','recruit_ticket.appoint_id','=','recruit_appoint_info.id','left');
|
|
|
+ $model = RecruitAppointInfo::where($where)->whereIn('recruit_appoint_info.realname',['肖思乐','张金铭','黄奖白','何佳鹏','李光祺','陈丽虹','卢江伟'])->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'];
|
|
@@ -2119,6 +2119,7 @@ class RecruitController extends Controller
|
|
|
->orderBy('recruit_appoint_info.updated_at','desc')
|
|
|
->get();
|
|
|
|
|
|
+
|
|
|
if(!is_dir(base_path() . "/storage/app/public/recruit/zip")){
|
|
|
Storage::makeDirectory("public/recruit/zip");
|
|
|
}
|