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
81a5362d
authored
Jul 16, 2025
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复逻辑
parent
2282db53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Http/Services/SyncSupplierService.php
app/Http/Services/SyncSupplierService.php
View file @
81a5362d
...
...
@@ -311,8 +311,8 @@ class SyncSupplierService
//判断是否是人工禁用的,是的话,也跳过
//线上数据,实体名单状态为普通,且供应商状态为禁止交易的,全部为手动禁用;
if
((
strpos
(
$supplier
[
'disable_reason'
],
'人工禁用'
)
!==
false
&&
$supplier
[
'status'
]
==
SupplierChannelModel
::
STATUS_DISABLE
)
||
(
$supplier
[
'status'
]
==
SupplierChannelModel
::
STATUS_DISABLE
&&
$supplier
[
'is_entity'
]
!
=
SupplierChannelModel
::
IS_ENTITY_FALSE
))
{
Log
::
warning
(
"检测到
同名
供应商并且属于禁用(人工禁用)状态,跳过,供应商id为 : "
.
$supplier
[
'supplier_id'
]);
if
((
strpos
(
$supplier
[
'disable_reason'
],
'人工禁用'
)
!==
false
&&
$supplier
[
'status'
]
==
SupplierChannelModel
::
STATUS_DISABLE
)
||
(
$supplier
[
'status'
]
==
SupplierChannelModel
::
STATUS_DISABLE
&&
$supplier
[
'is_entity'
]
=
=
SupplierChannelModel
::
IS_ENTITY_FALSE
))
{
Log
::
warning
(
"检测到供应商并且属于禁用(人工禁用)状态,跳过,供应商id为 : "
.
$supplier
[
'supplier_id'
]);
continue
;
}
...
...
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