* [task#125728,done,6h,0h] Finish add autoschedule wg.
This commit is contained in:
@@ -255,11 +255,14 @@ $fnGenerateDefaultData = function() use ($config, $plans, $planID, $stages, $exe
|
||||
$item->order = $plan->order;
|
||||
$item->parallel = $plan->parallel;
|
||||
$item->point = implode(',', $points);
|
||||
$plan->disabled = !isset($plan->setMilestone);
|
||||
$plan->setMilestone = isset($plan->setMilestone) ? $plan->setMilestone : false;
|
||||
$plan->point = implode(',', $points);
|
||||
if(in_array($config->edition, array('max', 'ipd')) && $executionType == 'stage')
|
||||
{
|
||||
$item->output = empty($plan->output) ? 0 : explode(',', $plan->output);
|
||||
$plan->output = empty($plan->output) ? 0 : explode(',', $plan->output);
|
||||
}
|
||||
$items[] = $item;
|
||||
$items[] = $plan;
|
||||
}
|
||||
|
||||
return $items;
|
||||
|
||||
Reference in New Issue
Block a user