Update: 2026-05-07 02:08:54
This commit is contained in:
@@ -31,7 +31,7 @@ try {
|
|||||||
$stmt = $db->prepare("
|
$stmt = $db->prepare("
|
||||||
SELECT q.*, b.tenant_id, b.company_id, b.uploaded_by
|
SELECT q.*, b.tenant_id, b.company_id, b.uploaded_by
|
||||||
FROM invoice_processing_queue q
|
FROM invoice_processing_queue q
|
||||||
JOIN invoice_batches b ON q.batch_id = b.id
|
JOIN invoice_batches b ON q.batch_id = b.id COLLATE utf8mb4_unicode_ci
|
||||||
WHERE q.status = 'pending' AND b.status = 'processing'
|
WHERE q.status = 'pending' AND b.status = 'processing'
|
||||||
ORDER BY q.created_at ASC
|
ORDER BY q.created_at ASC
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
|
|||||||
Reference in New Issue
Block a user