Merge branch 'sprint/fixbug_hufangzhou_21875' into 'master'

* Fix bug #21875.

See merge request easycorp/zentaopms!3028
This commit is contained in:
孙广明
2022-04-20 07:37:28 +00:00
+1
View File
@@ -1285,6 +1285,7 @@ class productModel extends model
->beginIF($branch)->andWhere('t1.branch')->in($branch)->fi()
->beginIF(!$this->app->user->admin)->andWhere('t2.id')->in($this->app->user->view->sprints)->fi()
->andWhere('t2.deleted')->eq('0')
->orderBy('id_desc')
->fetchAll('id');
$projectIdList = array();