Commit f79ad934 by 杨树贤

设置部分条件

parent 16b8f2f3
Showing with 1 additions and 1 deletions
......@@ -88,7 +88,7 @@ class SyncSupplierService
if (!empty($supplier['nation_id'])) {
$countryIsocode = NationModel::where('nation_id', $supplier['nation_id'])->value('international_code');
$message['country_isocode'] = $countryIsocode;
$message['country_isocode'] = !empty($countryIsocode) ? $countryIsocode : "";
}
$supplierIds = SupplierChannelModel::where('supplier_name', $supplier['supplier_name'])
......
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