Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6142d1f5
authored
Jun 26, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复
parent
11d697b2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
app/Http/Services/DataService.php
app/Http/Services/SupplierAddressService.php
app/Http/Services/DataService.php
View file @
6142d1f5
...
...
@@ -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,
//]);
}
}
}
}
...
...
app/Http/Services/SupplierAddressService.php
View file @
6142d1f5
...
...
@@ -220,10 +220,11 @@ class SupplierAddressService
'create_name'
=>
$supplier
[
'create_name'
],
'address_data'
=>
$changedAddress
,
];
d
d
(
1232
);
d
ump
(
$params
);
//改成队列投放
(
new
QueueDeliveryService
())
->
push
(
QueueDeliveryService
::
PUSH_TYPE_SYNC_HTTP
,
'/sync/Address/updateAddress'
,
$params
);
dd
(
1232
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment