|
@@ -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 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";
|
|
|
|
|
|
return $this->executeSql($sqlStr, 2, $mineCode);
|
|
|
|