Commit 5f689c5a by 杨树贤

询价数据问题

parent 365427b7
Showing with 1 additions and 1 deletions
...@@ -70,7 +70,7 @@ class InquiryService ...@@ -70,7 +70,7 @@ class InquiryService
$q->where('goods_name', $searchKeyWord); $q->where('goods_name', $searchKeyWord);
}); });
} }
if (!is_null($status)) { if (!empty($status) || ($status === '0')) {
$query->where('status', $status); $query->where('status', $status);
} }
$result = $query->paginate($limit)->toArray(); $result = $query->paginate($limit)->toArray();
......
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