|
@@ -62,7 +62,6 @@ class ProjectController extends BaseController |
|
@@ -62,7 +62,6 @@ class ProjectController extends BaseController |
|
62
|
->leftJoin('gl_project_online_check', 'gl_project.id', '=', 'gl_project_online_check.project_id')
|
62
|
->leftJoin('gl_project_online_check', 'gl_project.id', '=', 'gl_project_online_check.project_id')
|
|
63
|
->leftJoin('gl_web_setting_template', 'gl_project.id', '=', 'gl_web_setting_template.project_id')
|
63
|
->leftJoin('gl_web_setting_template', 'gl_project.id', '=', 'gl_web_setting_template.project_id')
|
|
64
|
->leftJoin('gl_project_association', 'gl_project.id', '=', 'gl_project_association.project_id')
|
64
|
->leftJoin('gl_project_association', 'gl_project.id', '=', 'gl_project_association.project_id')
|
|
65
|
- ->leftJoin('gl_domain_info', 'gl_project.id', '=', 'gl_domain_info.project_id')
|
|
|
|
66
|
->where('gl_project.delete_status',Project::TYPE_ZERO);
|
65
|
->where('gl_project.delete_status',Project::TYPE_ZERO);
|
|
67
|
$query = $this->searchParam($query);
|
66
|
$query = $this->searchParam($query);
|
|
68
|
$query = $this->orderByList($query);
|
67
|
$query = $this->orderByList($query);
|
|
@@ -125,7 +124,6 @@ class ProjectController extends BaseController |
|
@@ -125,7 +124,6 @@ class ProjectController extends BaseController |
|
125
|
'gl_project_deploy_optimize.api_no AS api_no',
|
124
|
'gl_project_deploy_optimize.api_no AS api_no',
|
|
126
|
'gl_web_setting_template.template_id AS template_id',
|
125
|
'gl_web_setting_template.template_id AS template_id',
|
|
127
|
'gl_project_association.friend_id as friend_id',
|
126
|
'gl_project_association.friend_id as friend_id',
|
|
128
|
- 'gl_domain_info.ai_domain as ai_domain'
|
|
|
|
129
|
];
|
127
|
];
|
|
130
|
return $select;
|
128
|
return $select;
|
|
131
|
}
|
129
|
}
|
|
@@ -299,9 +297,6 @@ class ProjectController extends BaseController |
|
@@ -299,9 +297,6 @@ class ProjectController extends BaseController |
|
299
|
if(isset($this->map['plan'])){
|
297
|
if(isset($this->map['plan'])){
|
|
300
|
$query = $query->where('gl_project_deploy_build.plan',$this->map['plan']);
|
298
|
$query = $query->where('gl_project_deploy_build.plan',$this->map['plan']);
|
|
301
|
}
|
299
|
}
|
|
302
|
- if(isset($this->map['ai_domain'])){
|
|
|
|
303
|
- $query = $query->whereNotNull('gl_domain_info.ai_domain');
|
|
|
|
304
|
- }
|
|
|
|
305
|
if(isset($this->map['friend_id'])){
|
300
|
if(isset($this->map['friend_id'])){
|
|
306
|
if($this->map['friend_id'] == 1){
|
301
|
if($this->map['friend_id'] == 1){
|
|
307
|
$query = $query->where('gl_project_association.friend_id', '!=', 0);
|
302
|
$query = $query->where('gl_project_association.friend_id', '!=', 0);
|