|
...
|
...
|
@@ -173,8 +173,8 @@ class ProjectController extends BaseController |
|
|
|
$managerHr = new ManageHr();
|
|
|
|
$info = $managerHr->read(['manage_id'=>$this->manage['id']]);
|
|
|
|
//获取当前用户自己的项目
|
|
|
|
$query->where(function ($query) use ($info) {
|
|
|
|
$query->where('gl_project_deploy_build.leader_mid', $this->manage['id'])
|
|
|
|
$query->where(function ($subQuery) use ($info) {
|
|
|
|
$subQuery->where('gl_project_deploy_build.leader_mid', $this->manage['id'])
|
|
|
|
->orWhere('gl_project_deploy_build.manager_mid', $this->manage['id'])
|
|
|
|
->orWhere('gl_project_deploy_build.designer_mid', $this->manage['id'])
|
|
|
|
->orWhere('gl_project_deploy_build.tech_mid', $this->manage['id'])
|
...
|
...
|
|