Merge remote-tracking branch 'origin/master' into akun
正在显示
1 个修改的文件
包含
6 行增加
和
2 行删除
| @@ -138,11 +138,15 @@ class OnlineController extends BaseController | @@ -138,11 +138,15 @@ class OnlineController extends BaseController | ||
| 138 | $query->where('gl_project.title', 'like', '%' . $this->map['search'] . '%'); | 138 | $query->where('gl_project.title', 'like', '%' . $this->map['search'] . '%'); |
| 139 | } | 139 | } |
| 140 | } | 140 | } |
| 141 | - if(isset($this->map['qa_status']) && !empty($this->map['qa_status'])){ | 141 | + if(isset($this->map['qa_status'])){ |
| 142 | // 搜索状态 | 142 | // 搜索状态 |
| 143 | $query->where('gl_project_online_check.qa_status',$this->map['qa_status']); | 143 | $query->where('gl_project_online_check.qa_status',$this->map['qa_status']); |
| 144 | } | 144 | } |
| 145 | - if(isset($this->map['optimist_status']) && !empty($this->map['optimist_status'])){ | 145 | + if(isset($this->map['all_status'])){ |
| 146 | + // 搜索状态 | ||
| 147 | + $query->where('gl_project_online_check.qa_status',$this->map['qa_status']); | ||
| 148 | + } | ||
| 149 | + if(isset($this->map['optimist_status'])){ | ||
| 146 | // 搜索状态 | 150 | // 搜索状态 |
| 147 | $query->where('gl_project_online_check.optimist_status',$this->map['optimist_status']); | 151 | $query->where('gl_project_online_check.optimist_status',$this->map['optimist_status']); |
| 148 | } | 152 | } |
-
请 注册 或 登录 后发表评论