|
@@ -62,6 +62,8 @@ class DemandLabor extends Auth
|
|
|
$data['schooling'] = '';
|
|
|
}
|
|
|
$schooling = $data['schooling'];
|
|
|
+ $where = [];
|
|
|
+ $where['schooling'] = $schooling;
|
|
|
$list = DataRecruitment::mk()
|
|
|
->where('is_del',1)
|
|
|
->where('state',1)
|
|
@@ -98,6 +100,7 @@ class DemandLabor extends Auth
|
|
|
->with(['shipyard'=>function($query){
|
|
|
$query->field('id,name');
|
|
|
}])
|
|
|
+ ->where($where)
|
|
|
->order('create_at','desc')
|
|
|
->paginate();
|
|
|
foreach ($list as $v){
|