likang 2 gadi atpakaļ
vecāks
revīzija
01527fe08f
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      catch/tag_history/controller/TagHistory.php

+ 1 - 0
catch/tag_history/controller/TagHistory.php

@@ -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'];