This commit is contained in:
mzl
2025-10-30 16:51:58 +08:00
parent 7db7e652de
commit 94e9d6eb7e
@@ -39,8 +39,7 @@ class OfficeClerkController extends BaseController
$twentyFourHoursAgo = time() - (24 * 3600); $twentyFourHoursAgo = time() - (24 * 3600);
$timeout = Db::table('fin_payment_apply') $timeout = Db::table('fin_payment_apply')
->where('doc_user_id', $request->user->uid) ->where('doc_user_id', $request->user->uid)
->whereNotNull('submit_files') ->where('fin_payment_apply.submit_files', '[]')
->whereJsonLength('submit_files', '>', 0)
->where('receipt_id', '>', 0) ->where('receipt_id', '>', 0)
->where('claimed_at', '<', $twentyFourHoursAgo) ->where('claimed_at', '<', $twentyFourHoursAgo)
->count('id'); ->count('id');
@@ -144,8 +143,7 @@ class OfficeClerkController extends BaseController
->join('user', 'fin_payment_apply.doc_user_id', '=', 'user.id') ->join('user', 'fin_payment_apply.doc_user_id', '=', 'user.id')
->join('sys_currency', 'fin_payment_apply.currency_id', '=', 'sys_currency.id') ->join('sys_currency', 'fin_payment_apply.currency_id', '=', 'sys_currency.id')
->where('fin_payment_apply.doc_user_id', $request->user->uid) ->where('fin_payment_apply.doc_user_id', $request->user->uid)
->whereNotNull('fin_payment_apply.submit_files') ->where('fin_payment_apply.submit_files', '[]')
->whereJsonLength('fin_payment_apply.submit_files', '>', 0)
->where('fin_payment_apply.receipt_id', '>', 0) ->where('fin_payment_apply.receipt_id', '>', 0)
->where('fin_payment_apply.claimed_at', '<', $twentyFourHoursAgo) ->where('fin_payment_apply.claimed_at', '<', $twentyFourHoursAgo)
->get([ ->get([