作者 lyh

变更数据

@@ -166,10 +166,11 @@ class RemainDay extends Command @@ -166,10 +166,11 @@ class RemainDay extends Command
166 $geoCountModel = new GeoCount(); 166 $geoCountModel = new GeoCount();
167 $is_qualify = $geoCountModel->where('project_id', $item['id'])->orderBy('id', 'desc')->value('is_qualify'); 167 $is_qualify = $geoCountModel->where('project_id', $item['id'])->orderBy('id', 'desc')->value('is_qualify');
168 if($compliance_day > 0 && $is_qualify > 0){ 168 if($compliance_day > 0 && $is_qualify > 0){
169 - $compliance_day = 1; 169 + $remain_day = $item['remain_day'] - 1;
170 } 170 }
  171 + }else{
  172 + $remain_day = $deploy_build['service_duration'] - $compliance_day;
171 } 173 }
172 - $remain_day = $deploy_build['service_duration'] - $compliance_day;  
173 } 174 }
174 }else{ 175 }else{
175 //普通建站项目 176 //普通建站项目