正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -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){ |
-
请 注册 或 登录 后发表评论