商品列表支持检索条码
This commit is contained in:
parent
a4db215d58
commit
d28f2662fb
@ -151,9 +151,6 @@ class ProductDao extends BaseDao
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
->when(isset($where['keyword']) && $where['keyword'] !== '', function ($query) use ($where) {
|
|
||||||
$query->whereLike('Product.store_name', "%{$where['keyword']}%");
|
|
||||||
})
|
|
||||||
->when(isset($where['mer_labels']) && $where['mer_labels'] !== '', function ($query) use ($where) {
|
->when(isset($where['mer_labels']) && $where['mer_labels'] !== '', function ($query) use ($where) {
|
||||||
$query->whereLike('U.mer_labels', "%,{$where['mer_labels']},%");
|
$query->whereLike('U.mer_labels', "%,{$where['mer_labels']},%");
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user