* Format the code.

This commit is contained in:
hufangzhou
2023-02-10 06:09:44 +00:00
parent 35bd85a243
commit 17bbda6505
2 changed files with 5 additions and 9 deletions
+5 -1
View File
@@ -1118,7 +1118,11 @@ class programplanModel extends model
if(dao::isError()) return false;
$this->setTreePath($planID);
if($plan->acl != 'open') $this->loadModel('user')->updateUserView($planID, 'sprint');
if($plan->acl != 'open')
{
$planIdList = $this->dao->select('id')->from(TABLE_EXECUTION)->where('path')->like("%,$planID,%")->andWhere('type')->eq('stage')->fetchAll('id');
$this->loadModel('user')->updateUserView(array_keys($planIdList), 'sprint');
}
if($planChanged)
{