作者 lyh

update_route

@@ -80,6 +80,9 @@ class RemainDay extends Command @@ -80,6 +80,9 @@ class RemainDay extends Command
80 }else{ 80 }else{
81 if($item['type'] == Project::TYPE_TWO){ 81 if($item['type'] == Project::TYPE_TWO){
82 $compliance_day = $item->finish_remain_day ?? 0; 82 $compliance_day = $item->finish_remain_day ?? 0;
  83 + if($compliance_day == 0){
  84 + $item->pause_days = 0;
  85 + }
83 $remain_day = $item['deploy_build']['service_duration'] + $item->pause_days - $compliance_day; 86 $remain_day = $item['deploy_build']['service_duration'] + $item->pause_days - $compliance_day;
84 }else{ 87 }else{
85 if($item->uptime){ 88 if($item->uptime){