|
...
|
...
|
@@ -276,13 +276,6 @@ class OptimizeController extends BaseController |
|
|
|
$query = $query->where('gl_project_deploy_build.seo_plan',$this->map['seo_plan']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (isset($this->map['seo_plan'])) {
|
|
|
|
$query = $query->where('gl_project_deploy_build.seo_plan', '!=', 0)
|
|
|
|
->where(function ($subQuery) {
|
|
|
|
$subQuery->where('gl_project_deploy_build.plan', '=', 0)
|
|
|
|
->orWhere('gl_project_deploy_build.seo_plan', '!=', 9);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
if(isset($this->map['main_lang_id'])){
|
|
|
|
$query = $query->where('gl_project.main_lang_id',$this->map['main_lang_id']);
|
|
|
|
}
|
...
|
...
|
|