linwu 2 жил өмнө
parent
commit
bf6d4343f9

+ 2 - 1
app/Http/Controllers/Mobile/Active/RecruitController.php

@@ -60,7 +60,7 @@ class RecruitController extends MobileBaseController
             $district_arr = ["%.{$select_id}%", "%{$select_id}.%"];
             $title        = $citys['select']['name'] . '专区';
         }
-        $whereRaw = "jobs.updated_at > '2022-06-01 00:00:00' and jobs.deleted_at is null and jobs.valid = 1 and jobs.audit = 1 and jobs.display = 1";
+        $whereRaw = "jobs.updated_at > '2022-06-01 00:00:00' and jobs.deleted_at is null and jobs.valid = 1 and jobs.audit = 1 and jobs.display = 1 and education > 68";
         $companys = DB::table('jobs')->join('companys', 'jobs.company_id', '=', 'companys.id')->whereRaw($whereRaw)->groupBy('jobs.company_id')->select('jobs.company_id')->pluck('company_id')->toArray();
 
         $where   = [];
@@ -91,6 +91,7 @@ class RecruitController extends MobileBaseController
                 ['display', '=', 1],
                 ['audit', '=', 1],
                 ['deleted_at', '=', null],
+                ['education', '>', 68],
             ];
 
             $jobs = DB::table('jobs')->where($jobs_where)->get();