Commit ee1ebd4c by 杨树贤

修复导致

parent f25cc59c
Showing with 1 additions and 2 deletions
......@@ -279,8 +279,7 @@ class SyncSupplierService
(new ChainService())->changeChainIsEntity($supplierName, $isEntityResult);
//先找到对应的供应商(草稿的跳过),如果没有那跳过
$supplier = SupplierChannelModel::where('supplier_name', $supplierName)
->where('status', '!=', SupplierChannelModel::STATUS_PENDING)->first();
$supplier = SupplierChannelModel::where('supplier_name', $supplierName)->first();
if (empty($supplier)) {
Log::error('供应商不存在');
return true;
......
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