* [refac, 1h] add researchtaskbasicinfo.

This commit is contained in:
tanghucheng
2024-05-29 09:50:05 +08:00
committed by caoyanyi
parent 9bc033dc06
commit 080ff682a0
2 changed files with 76 additions and 1 deletions
-1
View File
@@ -99,7 +99,6 @@ class programplanModel extends model
public function getPairs(int $executionID, int $productID = 0, string $type = 'all'): array
{
$plans = $this->getStage($executionID, $productID, $type);
$pairs = array(0 => '');
$parents = array();
if(strpos($type, 'leaf') !== false) array_map(function($plan) use(&$parents){$parents[$plan->parent] = true;}, $plans);