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')