Commit a1386139 by 杨树贤

同步

parent f7f5721b
Showing with 2 additions and 2 deletions
......@@ -876,8 +876,8 @@ class DataService
//同步供应商到erp
public static function syncSupplierToErp()
{
$supplierIds = SupplierChannelModel::where('is_type', 0)->where('group_code', '!=', '')
->pluck('supplier_id')->where('create_time','>',1723132800)->toArray();
$supplierIds = SupplierChannelModel::where('is_type', 0)->where('group_code', '!=', '')->where('create_time','>',1723132800)
->pluck('supplier_id')->toArray();
foreach ($supplierIds as $supplierId) {
(new SyncSupplierService())->syncSupplierToErp($supplierId);
}
......
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