fix(发票预览): 回扫时替换工作簿旧预览 (#1524)
This commit is contained in:
parent
e058927cdd
commit
5f1348db4b
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user