商品列表查询过滤批发商品
This commit is contained in:
parent
9c6c6c873a
commit
43802dadc7
@ -71,6 +71,7 @@ class StoreProductLists extends BaseAdminDataLists implements ListsSearchInterfa
|
||||
}
|
||||
$query = StoreProduct::where($this->searchWhere);
|
||||
if (isset($this->params['type_filter'])) {
|
||||
$query->where('product_type', '<>', 5);
|
||||
if ($this->params['type_filter'] == 0) {
|
||||
$query->where(function ($query) {
|
||||
$query->where('product_type', 6)->whereOr('is_show', 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user