入账资料附件格式处理

This commit is contained in:
2025-10-30 17:21:10 +08:00
parent f64324fba5
commit a3819bcba7
4 changed files with 16 additions and 15 deletions
+2 -7
View File
@@ -46,18 +46,13 @@ class Task
return;
}
Log::info('fin_payment_apply submit_files start', [time()]);
$orWhere = [
['submit_files', '=', '[]'],
['submit_files', '=', ''],
];
$where = [
['submit_files', '=', ''],
['warn', '<', 2],
['created_at', '>', time() - 60 * 60 * 48],
['created_at', '<', time() - 60 * 60 * 24],
];
$payment = FinPaymentApply::where($where)->where(function($query) use ($orWhere) {
$query->orWhere($orWhere);
})->orderBy('id', 'desc')->get();
$payment = FinPaymentApply::where($where)->orderBy('id', 'desc')->get();
foreach ($payment as $item) {
Log::info('fin_payment_apply submit_files ', [$item->toArray()]);
$notice = [