|
@@ -129,7 +129,7 @@ class TagHistory extends CatchController
|
|
|
$list[$key]['addTime'] = $value['addTime'];
|
|
|
|
|
|
$value['ave_rssi']= $this->tagHistoryModel->where($towwhere)->where($onewhere)->avg('rssi');
|
|
|
- $list[$key]['ave_rssi'] = $value['ave_rssi'];
|
|
|
+ $list[$key]['ave_rssi'] =number_format($value['ave_rssi'],2);
|
|
|
|
|
|
$value['num']=$this->tagHistoryModel->where($onewhere)->where($towwhere)->count();
|
|
|
$list[$key]['num'] = $value['num'];
|