Commit ae84ea46 by 杨树贤

处理禁用供应商

parent 1f40559c
...@@ -38,7 +38,7 @@ class SetSupplierFollowUp extends Command ...@@ -38,7 +38,7 @@ class SetSupplierFollowUp extends Command
// $service->importSupplierGroup(true); // $service->importSupplierGroup(true);
// $service->changeSupplierType(); // $service->changeSupplierType();
// $service->generateYunxinAccount(true); // $service->generateYunxinAccount(true);
$service->disableSupplier(); $service->disableSupplier(true);
// $service->makeSupplierSystemTagAbnormal(); // $service->makeSupplierSystemTagAbnormal();
} }
} }
...@@ -599,7 +599,8 @@ class DataService ...@@ -599,7 +599,8 @@ class DataService
$num++; $num++;
if ($isUpdate) { if ($isUpdate) {
SupplierChannelModel::where('supplier_id', $supplierId)->update([ SupplierChannelModel::where('supplier_id', $supplierId)->update([
'is_type' => 3 'is_type' => 0,
'status' => SupplierChannelModel::STATUS_DISABLE,
]); ]);
} }
} }
......
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