From 94e9d6eb7e8b294e1390fb9e409b8f5a8a2d946c Mon Sep 17 00:00:00 2001 From: mzl Date: Thu, 30 Oct 2025 16:51:58 +0800 Subject: [PATCH] xg --- app/admin/controller/dashboard/OfficeClerkController.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/admin/controller/dashboard/OfficeClerkController.php b/app/admin/controller/dashboard/OfficeClerkController.php index 6fa70ee..f1762c4 100644 --- a/app/admin/controller/dashboard/OfficeClerkController.php +++ b/app/admin/controller/dashboard/OfficeClerkController.php @@ -39,8 +39,7 @@ class OfficeClerkController extends BaseController $twentyFourHoursAgo = time() - (24 * 3600); $timeout = Db::table('fin_payment_apply') ->where('doc_user_id', $request->user->uid) - ->whereNotNull('submit_files') - ->whereJsonLength('submit_files', '>', 0) + ->where('fin_payment_apply.submit_files', '[]') ->where('receipt_id', '>', 0) ->where('claimed_at', '<', $twentyFourHoursAgo) ->count('id'); @@ -144,8 +143,7 @@ class OfficeClerkController extends BaseController ->join('user', 'fin_payment_apply.doc_user_id', '=', 'user.id') ->join('sys_currency', 'fin_payment_apply.currency_id', '=', 'sys_currency.id') ->where('fin_payment_apply.doc_user_id', $request->user->uid) - ->whereNotNull('fin_payment_apply.submit_files') - ->whereJsonLength('fin_payment_apply.submit_files', '>', 0) + ->where('fin_payment_apply.submit_files', '[]') ->where('fin_payment_apply.receipt_id', '>', 0) ->where('fin_payment_apply.claimed_at', '<', $twentyFourHoursAgo) ->get([