Commit 052742fd by 杨树贤

临时供应商等级都为E

parent 675b5f08
Showing with 6 additions and 0 deletions
......@@ -180,6 +180,12 @@ class SupplierService
$channel['level'] = '';
}
}
//只要是临时供应商类型,等级就是E
if ($channel['supplier_type'] == SupplierChannelModel::SUPPLIER_TYPE_TEMPORARY) {
$channel['level'] = 'E';
}
$channel['system_tags'] = trim(implode(',', $channel['system_tags']), ',');
$model->where('supplier_id', $supplierId)->update($channel);
......
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