liyinglin 2 years ago
parent 1245977c04
commit 313b78ae08

@ -485,7 +485,7 @@ class StatisticsController extends CommonController
$item->rate = 0; $item->rate = 0;
if ($bedsIdTemp->count()) { if ($bedsIdTemp->count()) {
// 配比 // 配比
$item->rate = round($item->order_total / $days * $bedsIdTemp->count(), 4) * 100; $item->rate = round($item->order_total / ($days * $bedsIdTemp->count()), 4) * 100;
} }
} }

Loading…
Cancel
Save