xg
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user