This commit is contained in:
dingna
2021-09-14 17:24:29 +08:00
parent 8fc5296ee3
commit 11729b9730
+1 -1
View File
@@ -182,7 +182,7 @@ class programModel extends model
->on('t1.project = t2.id')
->where('t2.deleted')->eq(0)
->andWhere('t1.product')->in($productPairs)
->andWhere('t2.status')->ne('closed')
->andWhere('t2.status')->eq('doing')
->andWhere('t2.type')->eq('project')
->beginIF(!$this->app->user->admin)->andWhere('t2.id')->in($this->app->user->view->projects)->fi()
->fetchGroup('product');