dev
Jing Li 2023-08-12 13:25:24 +08:00
parent 317622f0fc
commit 9c037037c6
1 changed files with 1 additions and 1 deletions

View File

@ -513,7 +513,7 @@ class BiAngDeviceLogService
foreach ($data as $key => $item) {
if ($item['count'] > 0) {
if ($key === 'killed_num') {
$attributes[$key] = $item['sum'];
$attributes[$key] = (int) $item['sum'];
} else {
$attributes[$key] = round(bcdiv($item['sum'], $item['count'], 2), 2);
}