|
...
|
...
|
@@ -131,12 +131,7 @@ class RemainDay extends Command |
|
|
|
if($deploy_build['seo_plan'] == 1){
|
|
|
|
if($deploy_build['seo_service_duration'] != 0){
|
|
|
|
if(in_array($item['id'],$this->bm_projectId)){
|
|
|
|
if($item['bm_finish_remain_day']){
|
|
|
|
$compliance_day = (int)$item['bm_finish_remain_day'];
|
|
|
|
$seo_remain_day = $deploy_build['seo_service_duration'] - $compliance_day;
|
|
|
|
}else{
|
|
|
|
$seo_remain_day = $deploy_build['seo_service_duration'];
|
|
|
|
}
|
|
|
|
$seo_remain_day = $deploy_build['seo_service_duration'] - (int)$item['bm_finish_remain_day'];
|
|
|
|
}else{
|
|
|
|
//按自然日统计
|
|
|
|
$diff = time() - strtotime($item['uptime']);
|
...
|
...
|
|