From b7d74b1131d594dc0e120f3ce85cda60307fe88b Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 18 Jan 2022 08:36:18 +0800 Subject: [PATCH] * Fix the problem of demand status flow. --- module/story/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/story/model.php b/module/story/model.php index ff6366b915..9ef1861ee5 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -2180,11 +2180,11 @@ class storyModel extends model ->leftJoin(TABLE_PROJECTSTORY)->alias('t2')->on('t1.id=t2.project') ->where('t1.deleted')->eq(0) ->andWhere('t1.type')->in('sprint,stage,kanban') - ->andWhere('t2.story')->eq($story) + ->andWhere('t2.story')->eq($storyID) ->fetchPairs(); foreach($executionIdList as $executionID) { - $this->kanban->updateLane($executionID, 'story'); + $this->kanban->updateLane($executionID, 'story', $storyID); } }