Fix
parent
cd16fbf658
commit
c2475f4baa
|
|
@ -176,10 +176,14 @@ class BiAngDeviceLogService
|
|||
};
|
||||
|
||||
if ($attribute) {
|
||||
if ($attribute == 'moment_rainfall') {
|
||||
$attributes[$attribute] = bcadd($attributes[$attribute] ?? '0.00', $v, 2);
|
||||
} else {
|
||||
$attributes[$attribute] = $v;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $attributes;
|
||||
}, []);
|
||||
|
|
|
|||
Loading…
Reference in New Issue