Explorar el Código

去除无用字段

q hace 1 año
padre
commit
1c5ce51955

+ 1 - 1
Modules/OpcData/Http/Controllers/Api/CarIllegalDownController.php

@@ -92,7 +92,7 @@ class CarIllegalDownController extends BaseController
     // 今日超速统计
     public function getCarIllegalCount($stateDate, $mineCode='zaoquan') {
 
-        $sqlStr = "select state_date, count(car_num) con from `down_car_speed_warn` where state_date = '".date("Y-m-d", strtotime($stateDate))."' order by state_date desc";
+        $sqlStr = "select count(car_num) con from `down_car_speed_warn` where state_date = '".date("Y-m-d", strtotime($stateDate))."'";
 
         return $this->executeSql($sqlStr, 2, $mineCode);