From 5f1348db4bceca2b831d67f2339098f034f1051f Mon Sep 17 00:00:00 2001 From: yueyang <2495544247@qq.com> Date: Fri, 27 Nov 2026 16:57:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=8F=91=E7=A5=A8=E9=A2=84=E8=A7=88):=20?= =?UTF-8?q?=E5=9B=9E=E6=89=AB=E6=97=B6=E6=9B=BF=E6=8D=A2=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E7=B0=BF=E6=97=A7=E9=A2=84=E8=A7=88=20(#1524)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/EcommerceFinance/Services/DingInvoiceSyncService.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/EcommerceFinance/Services/DingInvoiceSyncService.php b/modules/EcommerceFinance/Services/DingInvoiceSyncService.php index 751e7f39..522604c3 100644 --- a/modules/EcommerceFinance/Services/DingInvoiceSyncService.php +++ b/modules/EcommerceFinance/Services/DingInvoiceSyncService.php @@ -743,8 +743,7 @@ class DingInvoiceSyncService if (count($flowPreviewFallbacks) === 1) { $fallback = reset($flowPreviewFallbacks); foreach ($remainingExisting as $existing) { - if (! str_starts_with((string) ($existing['ocr_provider'] ?? ''), 'imported_workbook') - || ! empty($existing['preview_path'])) { + if (! str_starts_with((string) ($existing['ocr_provider'] ?? ''), 'imported_workbook')) { continue; } $this->connection->table('ding_invoice_record_mirror')