Merge branch 'sprint214_leiyong_task_60384' into 'master'

Sprint214 leiyong task 60384

See merge request easycorp/zentaopms!4495
This commit is contained in:
王怡栋
2022-07-13 02:25:36 +00:00
6 changed files with 76 additions and 13 deletions
+1 -1
View File
@@ -3963,8 +3963,8 @@ class execution extends control
$projectID = $this->dao->findByID($executionID)->from(TABLE_EXECUTION)->fetch('project');
$planStories = array_keys($planStory);
$this->execution->linkStory($executionID, $planStories, $planProducts, $extra);
if($this->config->systemMode == 'new' and $executionID != $projectID) $this->execution->linkStory($projectID, $planStories, $planProducts);
$this->execution->linkStory($executionID, $planStories, $planProducts, $extra);
}
$moduleName = 'execution';