订单列表返回预售商品

This commit is contained in:
luofei 2024-02-20 18:05:04 +08:00
parent 3f5902fa3e
commit f19be1888d

View File

@ -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) {