* Modify the code.

This commit is contained in:
tianshujie
2022-03-24 16:53:54 +08:00
parent c9c1573a2d
commit f5bc1f99a2
+2 -4
View File
@@ -933,13 +933,11 @@ class storyModel extends model
->leftJoin(TABLE_PROJECT)->alias('t2')->on('t1.project = t2.id')
->where('t1.story')->eq($storyID)
->andWhere('t2.deleted')->eq(0)
->andWhere('t2.type')->in('sprint,stage,kanban')
->fetchPairs();
$this->loadModel('kanban');
foreach($executionIdList as $executionID)
{
$this->kanban->updateLane($executionID, 'story', $storyID);
}
foreach($executionIdList as $executionID) $this->kanban->updateLane($executionID, 'story', $storyID);
}
unset($oldStory->parent);