From 33eb30dc73817dfadc653b951344c3aba5d2ec18 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Wed, 17 Jun 2026 16:02:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E7=89=8C=E8=BE=A8=E8=AF=86=E7=8E=87?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E7=BF=BB=E8=AF=91=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Exports/LicensePlateRecognitionExport.php | 2 +- resources/lang/en/exports.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Exports/LicensePlateRecognitionExport.php b/app/Exports/LicensePlateRecognitionExport.php index 34f94a6..258e334 100644 --- a/app/Exports/LicensePlateRecognitionExport.php +++ b/app/Exports/LicensePlateRecognitionExport.php @@ -16,7 +16,7 @@ class LicensePlateRecognitionExport implements FromArray, WithHeadings $index = 1; $query = LicensePlateRecognition::query(); $columns = ['time_slot']; - $query->groupBy('time_slot')->select($columns)->get()->each( + $query->groupBy('time_slot')->limit(1000)->select($columns)->get()->each( function ($item) use (&$data, &$index) { $countData = (new LicensePlateRecognitionService( new OperationLogService() diff --git a/resources/lang/en/exports.php b/resources/lang/en/exports.php index 5a07be7..965a47d 100644 --- a/resources/lang/en/exports.php +++ b/resources/lang/en/exports.php @@ -84,11 +84,11 @@ return [ 'license_plate_recognition' => [ 'list' => 'License Plate Recognition Rate', 'time_slot' => 'Time Period', - 'sum_count' => 'Total Recognition Times', - 'high_ratio' => 'High License Plate Recognition Accuracy', - 'middle_ratio' => 'Low License Plate Recognition Accuracy', - 'manual_count' => 'Number Of Manual Modifications', - 'manual_ratio' => 'Manually Modify The Ratio' + 'sum_count' => 'Total Recognition Count', + 'high_ratio' => 'High License Plate Recognition Rate', + 'middle_ratio' => 'Low License Plate Recognition Rate', + 'manual_count' => 'Manual Modification Count', + 'manual_ratio' => 'Manual Modification Ratio' ], 'whitelist' => [ 'list' => 'White List Import Template',