订单列表返回预售商品
This commit is contained in:
parent
3f5902fa3e
commit
f19be1888d
@ -81,7 +81,8 @@ class StoreOrderDao extends BaseDao
|
||||
unset($where['source']);
|
||||
} else {
|
||||
if(isset($where['product_type']) && $where['product_type'] !== ''){
|
||||
$query->where('activity_type', $where['product_type']);
|
||||
$where['product_type'] = [$where['product_type'], 2];
|
||||
$query->whereIn('activity_type', $where['product_type']);
|
||||
}
|
||||
}
|
||||
$query->when(($sysDel !== null), function ($query) use ($sysDel) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user