|
@@ -124,6 +124,7 @@ class TagHistory extends CatchController
|
|
|
|
|
|
$value['addTime'] = $this->tagHistoryModel->where($onewhere)->
|
|
|
where($towwhere)->max('addTime');
|
|
|
+ var_dump($value);
|
|
|
$list[$key]['addTime'] = $value['addTime'];
|
|
|
$value['ave_rssi']= $this->tagHistoryModel->where($towwhere)->where($onewhere)->avg('rssi');
|
|
|
$list[$key]['ave_rssi'] = $value['ave_rssi'];
|