Browse Source

车位辨识率导出优化3

master
wanghongjun 3 weeks ago
parent
commit
0ac13594da
  1. 2
      app/Exports/LicensePlateRecognitionExport.php

2
app/Exports/LicensePlateRecognitionExport.php

@ -15,7 +15,7 @@ class LicensePlateRecognitionExport implements FromArray, WithHeadings
$data = [];
$index = 1;
$query = LicensePlateRecognition::query();
$query->groupBy('time_slot')->latest('time_slot')
$query->groupBy(['time_slot'])->latest('time_slot')
->forPage(1, 1000)->get()->each(
function ($item) use (&$data, &$index) {
$countData = (new LicensePlateRecognitionService(

Loading…
Cancel
Save