Commit 3744ae16 by mushishixian

共用审核同步

parent 24c4ee94
......@@ -158,8 +158,12 @@ class SupplierShareApplyService
$supplier = $supplierModel->where('supplier_id', $apply['supplier_id'])->first()->toArray();
$supplierService = new SupplierService();
$supplierService->autoChangeIsType($supplier);
//最后同步到erp
$syncService = new SyncSupplierService();
$syncService->syncSupplierToErp($apply['supplier_id']);
}
}
return $applyModel->where('id', $id)->update($apply);
}
}
\ No newline at end of file
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