Commit a8a4ca3b by 杨树贤

审核完善税号

parent 25fabaa0
Showing with 5 additions and 0 deletions
......@@ -90,6 +90,11 @@ class SupplierAuditService
$company = (new CompanyService())->getCompanyInfo($supplier['supplier_name'],
$supplier['tax_number'], $regionType);
if (!empty($company)) {
if (!empty($company['tax_number'])) {
SupplierChannelModel::where('supplier_id', $supplierId)->update([
'tax_number' => $company['tax_number'],
]);
}
//同步给一体化系统
(new SyncSupplierService())->syncSupplierToUnited($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