Commit 7d589ed8 by 杨树贤

同步到金蝶

parent 3c5ec1ca
......@@ -38,7 +38,7 @@ class SetSupplierFollowUp extends Command
// $service->importSupplierGroup(true);
// $service->changeSupplierType();
// $service->generateYunxinAccount(true);
$service->disableSupplier(true);
$service->reSyncSupplierToErp();
// $service->makeSupplierSystemTagAbnormal();
}
}
......@@ -668,6 +668,7 @@ class DataService
$suppliers = SupplierChannelModel::where('is_type', 0)->get()->toArray();
foreach ($suppliers as $supplier) {
if (!empty($supplier['supplier_name'])) {
echo "同步供应商到金蝶 : " . $supplier['supplier_name'] . PHP_EOL;
(new SyncSupplierService())->syncSupplierToErp($supplier['supplier_id']);
}
}
......
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