Skip to content

Commit 536b816

Browse files
committed
fix out time
1 parent cd027ca commit 536b816

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ProdScheduler/SchedulerComputeTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ public function compute()
8787
$end = $start + $itemPhase['out_time'];
8888
} else {
8989
$end = $start + $totalCost;
90-
$end = $this->phaseTimeWithCalendarCompute($start, $end);
91-
$end = $this->phaseTimeWithRestDayCompute($start, $end);
92-
$this->list[$k]['phases_forward'][$i]['end'] = $end;
9390
}
91+
$end = $this->phaseTimeWithCalendarCompute($start, $end);
92+
$end = $this->phaseTimeWithRestDayCompute($start, $end);
93+
$this->list[$k]['phases_forward'][$i]['end'] = $end;
9494
}
9595
}
9696
}

0 commit comments

Comments
 (0)