Quellcode durchsuchen

线上招聘会

linwu vor 2 Jahren
Ursprung
Commit
ca7bb4702e
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      app/Http/Controllers/Web/Active/JobfairController.php

+ 2 - 1
app/Http/Controllers/Web/Active/JobfairController.php

@@ -726,7 +726,7 @@ class JobfairController extends WebBaseController
         $params['citycategory'] = 'jjkfq';
 
         $citycategory = 'jjkfq';
-        $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();
 
         $citys        = $this->categoryService->getCitys($citycategory);
@@ -762,6 +762,7 @@ class JobfairController extends WebBaseController
                 ['display', '=', 1],
                 ['audit', '=', 1],
                 ['deleted_at', '=', null],
+                ['education', '>', 68],
             ];
 
             $jobs = DB::table('jobs')->where($jobs_where)->get();