Commit af283379 by 杨树贤

fix

parent f0435e16
......@@ -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)->where('sku_expired_in_days','!=',1000);
$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);
}
......@@ -187,7 +187,7 @@ class SupplierFilter
}
if (!empty($map['sku_expired_in_days']) && is_numeric($map['sku_expired_in_days'])) {
$query->where('sku_expired_in_days', '>=', $map['sku_expired_in_days']);
$query->where('sku_expired_in_days', '>=', $map['sku_expired_in_days'])->where('sku_expired_in_days', '!=', 1000);
}
if (!empty($map['create_time'])) {
......
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