正在显示
1 个修改的文件
包含
1 行增加
和
6 行删除
| @@ -131,12 +131,7 @@ class RemainDay extends Command | @@ -131,12 +131,7 @@ class RemainDay extends Command | ||
| 131 | if($deploy_build['seo_plan'] == 1){ | 131 | if($deploy_build['seo_plan'] == 1){ |
| 132 | if($deploy_build['seo_service_duration'] != 0){ | 132 | if($deploy_build['seo_service_duration'] != 0){ |
| 133 | if(in_array($item['id'],$this->bm_projectId)){ | 133 | if(in_array($item['id'],$this->bm_projectId)){ |
| 134 | - if($item['bm_finish_remain_day']){ | ||
| 135 | - $compliance_day = (int)$item['bm_finish_remain_day']; | ||
| 136 | - $seo_remain_day = $deploy_build['seo_service_duration'] - $compliance_day; | ||
| 137 | - }else{ | ||
| 138 | - $seo_remain_day = $deploy_build['seo_service_duration']; | ||
| 139 | - } | 134 | + $seo_remain_day = $deploy_build['seo_service_duration'] - (int)$item['bm_finish_remain_day']; |
| 140 | }else{ | 135 | }else{ |
| 141 | //按自然日统计 | 136 | //按自然日统计 |
| 142 | $diff = time() - strtotime($item['uptime']); | 137 | $diff = time() - strtotime($item['uptime']); |
-
请 注册 或 登录 后发表评论