Commit a620dcef by 杨树贤

等级筛选

parent f0dedd99
...@@ -65,6 +65,10 @@ class SupplierFilter ...@@ -65,6 +65,10 @@ class SupplierFilter
$query->where('is_type', $map['is_type']); $query->where('is_type', $map['is_type']);
} }
if (!empty($map['level'])) {
$query->where('level', $map['level']);
}
if (isset($map['is_type']) && $map['is_type'] === "0") { if (isset($map['is_type']) && $map['is_type'] === "0") {
$query->where('is_type', $map['is_type']); $query->where('is_type', $map['is_type']);
} }
......
No preview for this file type
No preview for this file 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