*Finish task #16368.

This commit is contained in:
zhengrunyu
2021-11-19 09:48:57 +08:00
parent 644abad1fb
commit b959253bdf
+6
View File
@@ -62,6 +62,12 @@ class build extends control
$execution = $this->execution->getByID($executionID);
$executions = $this->execution->getPairs($execution->project);
}
$executionList = $this->execution->getByIdList(array_keys($executions));
foreach($executionList as $execution)
{
if($execution->lifetime == 'ops') unset($executions[$execution->id]);
}
$productGroups = $this->loadModel('product')->getProducts($executionID);
$productID = $productID ? $productID : key($productGroups);