* finish task #49421,49338.

This commit is contained in:
tanghucheng
2022-02-17 14:58:59 +08:00
parent cbcbe766a4
commit 966f00c07a
4 changed files with 5 additions and 8 deletions
+1
View File
@@ -133,6 +133,7 @@ class programModel extends model
return $this->dao->select('*')->from(TABLE_PROGRAM)
->where('type')->in('program,project')
->andWhere('deleted')->eq(0)
->andWhere('vision')->eq($this->config->vision)
->beginIF(!$this->app->user->admin)
->andWhere('(id')->in($this->app->user->view->programs)
->orWhere('id')->in($this->app->user->view->projects)