作者 lyh

gx

... ... @@ -49,8 +49,6 @@ class ProjectController extends BaseController
if(isset($this->param['type']) && $this->param['type'] == Project::TYPE_ZERO){
$map[] = ['type',Project::TYPE_ZERO];
}
var_dump($map);
die();
//搜索技术组
if(!empty($this->param['dep_id'])){
$map[] = ['id', 'in', DeployBuild::where('dept_id', $this->param['dep_id'])->pluck('project_id')->toArray()];
... ... @@ -74,6 +72,8 @@ class ProjectController extends BaseController
}
}
$sort = ['id' => 'desc'];
var_dump($map);
die();
$data = $logic->getList($map, $sort,['*'],$this->row);
return $this->success($data);
... ...