Merge branch 'sprint/185_fixbug_wangyidong' into 'sprint/185'

Sprint/185 fixbug wangyidong

See merge request easycorp/zentaopms!1878
This commit is contained in:
孙广明
2022-02-22 07:53:22 +00:00
5 changed files with 22 additions and 4 deletions

View File

@@ -1941,7 +1941,7 @@ class projectModel extends model
->beginIF($status != 'all' and $status != 'undone')->andWhere('t2.status')->eq($status)->fi()
->beginIF(!$this->app->user->admin)->andWhere('t2.id')->in($this->app->user->view->sprints)->fi()
->andWhere('t2.deleted')->eq('0')
->andWhere('t1.vision')->eq($this->config->vision)
->andWhere('t2.vision')->eq($this->config->vision)
->orderBy($orderBy)
->page($pager)
->fetchAll('id');