Commit 6142d1f5 by 杨树贤

修复

parent 11d697b2
......@@ -600,13 +600,20 @@ class DataService
public static function checkSupplierBandAccount()
{
ini_set('memory_limit', -1);
$accounts = SupplierReceiptModel::select(['account_no', 'supplier_id','bank_adderss'])->get()->toArray();
$accounts = SupplierReceiptModel::select(['receipt_id', 'account_no', 'supplier_id', 'bank_adderss'])->get()->toArray();
foreach ($accounts as $account) {
if (!SupplierReceiptService::checkAccountNo($account['account_no'])) {
dump($account['account_no']);
dump('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
$accountNo = SupplierReceiptService::transferAccountNo($account['account_no']);
if ($accountNo != $account['account_no']) {
dump('-----------------------------------');
dump($accountNo);
//SupplierReceiptModel::where('receipt_id', $account['receipt_id'])->update([
// 'account_no' => $accountNo,
//]);
}
}
}
}
......
......@@ -220,10 +220,11 @@ class SupplierAddressService
'create_name' => $supplier['create_name'],
'address_data' => $changedAddress,
];
dd(1232);
dump($params);
//改成队列投放
(new QueueDeliveryService())->push(QueueDeliveryService::PUSH_TYPE_SYNC_HTTP, '/sync/Address/updateAddress',
$params);
dd(1232);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment