正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -211,6 +211,9 @@ class OptimizeController extends BaseController | @@ -211,6 +211,9 @@ class OptimizeController extends BaseController | ||
| 211 | if(isset($this->map['title']) && !empty($this->map['title'])){ | 211 | if(isset($this->map['title']) && !empty($this->map['title'])){ |
| 212 | $query = $query->where('gl_project.title','like','%'.$this->map['title'].'%'); | 212 | $query = $query->where('gl_project.title','like','%'.$this->map['title'].'%'); |
| 213 | } | 213 | } |
| 214 | + if(isset($this->map['amp_status']) && !empty($this->map['amp_status'])){ | ||
| 215 | + $query = $query->where('gl_domain_info.amp_status',$this->map['amp_status']); | ||
| 216 | + } | ||
| 214 | if(isset($this->map['level']) && !empty($this->map['level'])){ | 217 | if(isset($this->map['level']) && !empty($this->map['level'])){ |
| 215 | $query = $query->whereRaw("FIND_IN_SET(?, gl_project.level) > 0", [$this->map['level']]); | 218 | $query = $query->whereRaw("FIND_IN_SET(?, gl_project.level) > 0", [$this->map['level']]); |
| 216 | } | 219 | } |
-
请 注册 或 登录 后发表评论