Browse Source

车位辨识率导出优化4

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

2
app/Exports/LicensePlateRecognitionExport.php

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

Loading…
Cancel
Save