|
...
|
...
|
@@ -129,13 +129,13 @@ class OnlineController extends BaseController |
|
|
|
* @time :2023/8/18 10:58
|
|
|
|
*/
|
|
|
|
public function searchParam(&$query){
|
|
|
|
if(!empty($this->map['search']) && !empty($this->map['search_type'])){
|
|
|
|
if(!empty($this->map['message']) && !empty($this->map['type'])){
|
|
|
|
// 搜索域名
|
|
|
|
if($this->map['search_type'] == 'test_domain'){
|
|
|
|
$query->where('gl_project_deploy_build.test_domain','like','%'.$this->map['search'].'%');
|
|
|
|
if($this->map['type'] == 'test_domain'){
|
|
|
|
$query->where('gl_project_deploy_build.test_domain','like','%'.$this->map['message'].'%');
|
|
|
|
} else {
|
|
|
|
// 搜索名称
|
|
|
|
$query->where('gl_project.title', 'like', '%' . $this->map['search'] . '%');
|
|
|
|
$query->where('gl_project.title', 'like', '%' . $this->map['message'] . '%');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(isset($this->map['qa_status'])){
|
...
|
...
|
|