Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6
正在显示
1 个修改的文件
包含
4 行增加
和
2 行删除
| @@ -167,9 +167,11 @@ class ProjectController extends BaseController | @@ -167,9 +167,11 @@ class ProjectController extends BaseController | ||
| 167 | public function searchType(&$query){ | 167 | public function searchType(&$query){ |
| 168 | if(isset($this->map['type'])){ | 168 | if(isset($this->map['type'])){ |
| 169 | $query->where('gl_project.extend_type', '!=' ,5); | 169 | $query->where('gl_project.extend_type', '!=' ,5); |
| 170 | - if (in_array($this->map['type'], [Project::TYPE_ZERO, Project::TYPE_ONE, Project::TYPE_TWO, Project::TYPE_THREE])) | 170 | + if (in_array($this->map['type'], [Project::TYPE_ZERO, Project::TYPE_ONE, Project::TYPE_TWO, Project::TYPE_THREE])){ |
| 171 | $query->where('gl_project.type', $this->map['type']); | 171 | $query->where('gl_project.type', $this->map['type']); |
| 172 | - else{ | 172 | + } elseif ($this->map['type'] == 8){ |
| 173 | + $query->where('gl_project.online_check_id', null)->where('gl_project.type',Project::TYPE_TWO); | ||
| 174 | + }else{ | ||
| 173 | $query->whereIn('gl_project.type', [Project::TYPE_FOUR,Project::TYPE_SIX]); | 175 | $query->whereIn('gl_project.type', [Project::TYPE_FOUR,Project::TYPE_SIX]); |
| 174 | } | 176 | } |
| 175 | } | 177 | } |
-
请 注册 或 登录 后发表评论