|
...
|
...
|
@@ -79,9 +79,9 @@ class RemainDay extends Command |
|
|
|
$remain_day = $item['deploy_build']['service_duration'] + $item->pause_days - floor($diff / (60 * 60 * 24));
|
|
|
|
}else{
|
|
|
|
if($item['type'] == Project::TYPE_TWO){
|
|
|
|
$compliance_day = $item->finish_remain_day ?? 0;
|
|
|
|
if($compliance_day == 0){
|
|
|
|
$item->pause_days = 0;
|
|
|
|
$compliance_day = ($item->finish_remain_day ?? 0);
|
|
|
|
if($item->finish_remain_day < $item->pause_days){
|
|
|
|
$item->pause_days = $item->finish_remain_day;
|
|
|
|
}
|
|
|
|
$remain_day = $item['deploy_build']['service_duration'] + $item->pause_days - $compliance_day;
|
|
|
|
}else{
|
...
|
...
|
|