Commit 12d75b3e by 杨树贤

筛选问题

parent 5885de54
......@@ -58,6 +58,9 @@ class SupplierFilter
$query->where('create_uid', $adminId);
}
if ((isset($map['status']) && $map['status'] === "0") || !empty($map['status'])) {
if ($map['source_type'] == 'disable') {
$map['status'] = -2;
}
$query->where('status', $map['status']);
}
......
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