* [bug#55003] Set class of design commit submit in tutorial.

This commit is contained in:
xieqiyu
2024-09-10 09:49:47 +08:00
committed by 唐胡成
parent cc36df7afe
commit 60bf52902e
4 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -2836,7 +2836,7 @@ class executionModel extends model
$linkedStories = $this->dao->select('story,`order`')->from(TABLE_PROJECTSTORY)->where('project')->eq($executionID)->orderBy('order_desc')->fetchPairs('story', 'order');
$lastOrder = (int)reset($linkedStories);
$storyList = $this->dao->select('id, status, branch, product, type')->from(TABLE_STORY)->where('id')->in(array_values($stories))->fetchAll('id');
$execution = $this->fetchByID($executionID);
$execution = $this->getByID($executionID);
$notAllowedStatus = $this->app->rawMethod == 'batchcreate' ? 'closed' : 'draft,reviewing,closed';
$laneID = isset($output['laneID']) ? $output['laneID'] : 0;