修改店铺云商品列表的错误
This commit is contained in:
parent
b1a7991677
commit
ce49e1c2a4
@ -144,6 +144,15 @@ class SpuDao extends BaseDao
|
||||
->when(isset($where['mer_status']) && $where['mer_status'] !== '',function($query)use($where){
|
||||
$query->where('mer_status',$where['mer_status']);
|
||||
})
|
||||
->when(isset($where['is_used']) && $where['is_used'] !== '',function($query)use($where){
|
||||
$query->where('is_used',$where['is_used']);
|
||||
})
|
||||
->when(isset($where['status']) && $where['status'] !== '',function($query)use($where){
|
||||
$query->where('P.status',$where['status']);
|
||||
})
|
||||
->when(isset($where['is_show']) && $where['is_show'] !== '',function($query)use($where){
|
||||
$query->where('is_show',$where['is_show']);
|
||||
})
|
||||
->when(isset($where['spu_status']) && $where['spu_status'] !== '',function($query)use($where){
|
||||
$query->where('S.status',$where['spu_status']);
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user