DESKTOP-9JTA2JJ\HP 5 år sedan
förälder
incheckning
969264e96a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      api/application/controllers/Lampcontrol.php

+ 1 - 1
api/application/controllers/Lampcontrol.php

@@ -1530,7 +1530,7 @@ class Lampcontrol extends Base_Controller {
             ];
             $where = ['lampid'=>$lamp_id,'updatetime >='=>$beginDate,'updatetime <='=>$endDate];
             $total = $this->RealtimeInfoLog_model->get_count($where,'count(*) as total');
-            $fields = 'batvoltage as battvoltage,updatetime,DayOverDisChgTimes as overtimes';
+            $fields = 'batvoltage as battvoltage,chgtemper as batttemper,updatetime,DayOverDisChgTimes as overtimes';
             $res = $this->RealtimeInfoLog_model->get_list($where, $fields,$count, ($page-1)*$count, 'updatetime desc,id desc');
         }else{