* [task#126382,doing,2h] Add the tutorial of setStage.

This commit is contained in:
xieqiyu
2024-09-04 17:31:41 +08:00
committed by 王于听
parent d76a1c7e56
commit 5c117fbb58
7 changed files with 153 additions and 4 deletions
+2
View File
@@ -41,6 +41,8 @@ class programplanModel extends model
*/
public function getStage(int $executionID = 0, int $productID = 0, string $browseType = 'all', string $orderBy = 'id_asc'): array
{
if(common::isTutorialMode()) return $this->loadModel('tutorial')->getStages();
$plans = $this->programplanTao->getStageList($executionID, $productID, $browseType, $orderBy);
return $this->processPlans($plans);
}