作者 lyh

gx

@@ -73,7 +73,7 @@ class UpgradeProjectCount extends Command @@ -73,7 +73,7 @@ class UpgradeProjectCount extends Command
73 if($previousInfo === false){ 73 if($previousInfo === false){
74 $arr['total'] = $arr['month_total']; 74 $arr['total'] = $arr['month_total'];
75 }else{ 75 }else{
76 - $arr['total'] = $res['data']['count'] + $previousInfo['month_total'] ?? 0; 76 + $arr['total'] = $res['data']['count'] + ($previousInfo['month_total'] ?? 0);
77 } 77 }
78 } 78 }
79 if(isset($res['data']['data'])){ 79 if(isset($res['data']['data'])){