This commit is contained in:
wangyidong
2021-08-03 16:22:31 +08:00
parent d6e08c274e
commit 2fc3496f90
+2 -2
View File
@@ -1534,10 +1534,10 @@ class projectModel extends model
public function updateInvolvedUserView($projectID, $users = array())
{
$products = $this->dao->select('product')->from(TABLE_PROJECTPRODUCT)->where('project')->eq($projectID)->fetchPairs('product', 'product');
$this->loadModel('user')->updateUserView($products, 'product', $stakeholder);
$this->loadModel('user')->updateUserView($products, 'product', $users);
$executions = $this->dao->select('id')->from(TABLE_EXECUTION)->where('project')->eq($projectID)->fetchPairs('id', 'id');
if($executions) $this->user->updateUserView($executions, 'sprint', $stakeholder);
if($executions) $this->user->updateUserView($executions, 'sprint', $users);
}
/**