作者 lyh

gx创建作者

@@ -170,7 +170,7 @@ class ProjectController extends BaseController @@ -170,7 +170,7 @@ class ProjectController extends BaseController
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 } elseif ($this->map['type'] == 8){ 172 } elseif ($this->map['type'] == 8){
173 - $query->where('gl_project.online_check_id', null)->where('gl_project.type',Project::TYPE_TWO); 173 + $query->where('gl_project_online_check.id', null)->where('gl_project.type',Project::TYPE_TWO);
174 }else{ 174 }else{
175 $query->whereIn('gl_project.type', [Project::TYPE_FOUR,Project::TYPE_SIX]); 175 $query->whereIn('gl_project.type', [Project::TYPE_FOUR,Project::TYPE_SIX]);
176 } 176 }