likang %!s(int64=2) %!d(string=hai) anos
pai
achega
a4e4b21469
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      catch/tag_history/controller/TagHistory.php

+ 2 - 4
catch/tag_history/controller/TagHistory.php

@@ -122,11 +122,9 @@ class TagHistory extends CatchController
                 ['lable', '=', $value['lable']]
             ];
 
-            $value['addTime'] = $this->tagHistoryModel->where($onewhere)->
+            $value['addTime'] = $this->tagHistoryModel->
                where($towwhere)->max('addTime');
-             $ss=  $this->tagHistoryModel->
-               where($towwhere)->max('addTime');
-            var_dump($ss);
+            
             $list[$key]['addTime'] = $value['addTime'];
             $value['ave_rssi']= $this->tagHistoryModel->where($towwhere)->where($onewhere)->avg('rssi');
             $list[$key]['ave_rssi'] =  $value['ave_rssi'];