|
...
|
...
|
@@ -58,7 +58,7 @@ class Count extends Command |
|
|
|
$arr['compliance_day'] = $this->compliance_day($yesterday);
|
|
|
|
//剩余服务时常
|
|
|
|
if($v['service_duration'] != 0){
|
|
|
|
$arr['service_day'] = ($v['service_duration'] - Common::getDaysToTargetDate($v['cooperate_date']));
|
|
|
|
$arr['service_day'] = (int)$v['service_duration'] - (int)$arr['compliance_day'];
|
|
|
|
$arr['service_day'] = $arr['service_day'] > 0 ? $arr['service_day'] : 0;
|
|
|
|
}else{
|
|
|
|
$arr['service_day'] = 0;
|
...
|
...
|
|