Commit e0886773 by 杨树贤

优化查询

parent dcb2ba48
......@@ -161,7 +161,7 @@ class SupplierFilter
if ((isset($map['is_sku_expire']) && $map['is_sku_expire'] === "0") || !empty($map['is_sku_expire'])) {
if ($map['is_sku_expire'] == 1) {
$query->where('sku_expired_in_days', '>', 0)->where('uploaded_sku', 1);
$query->where('sku_expired_in_days', '>', 0)->where('uploaded_sku', 1)->where('sku_expired_in_days','!=',1000);
} else {
$query->where('sku_expired_in_days', 0);
}
......
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