Commit 46d6d68d by 杨树贤

sku采购员筛选情况

parent f9c1a5b7
...@@ -25,6 +25,9 @@ class SupplierFilter ...@@ -25,6 +25,9 @@ class SupplierFilter
if (!empty($map['supplier_id'])) { if (!empty($map['supplier_id'])) {
$query->where('supplier_channel.supplier_id', $map['supplier_id']); $query->where('supplier_channel.supplier_id', $map['supplier_id']);
} }
if (!empty($map['yunxin_channel_uid'])) {
$query->where('yunxin_channel_uid', $map['yunxin_channel_uid']);
}
if ((isset($map['supplier_type']) && $map['supplier_type'] === "0") || !empty($map['supplier_type'])) { if ((isset($map['supplier_type']) && $map['supplier_type'] === "0") || !empty($map['supplier_type'])) {
$query->whereIn('supplier_type', explode(',', $map['supplier_type'])); $query->whereIn('supplier_type', explode(',', $map['supplier_type']));
} }
......
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