Browse Source

后台首页统计数据接口优化

master
wanghongjun 2 months ago
parent
commit
4fc0b37db9
  1. 2
      app/model/FinalReportDate.php

2
app/model/FinalReportDate.php

@ -15,7 +15,7 @@ class FinalReportDate extends Model
if ($type == 1) { if ($type == 1) {
return $ydzse_sum ? number_format($ydzse_sum, 2, '.', ',') : 0; return $ydzse_sum ? number_format($ydzse_sum, 2, '.', ',') : 0;
} else { } else {
return $ydzse_sum ?: 0; return $ydzse_sum ? round($ydzse_sum) : 0;
} }
} }
} }

Loading…
Cancel
Save