fix: shop detail
This commit is contained in:
@@ -1649,6 +1649,17 @@ class OrderItemRepo extends BaseRepository<IOrderItem> {
|
||||
shop: { $in: shopIds },
|
||||
},
|
||||
},
|
||||
{
|
||||
$lookup: {
|
||||
from: "shops",
|
||||
localField: "shop",
|
||||
foreignField: "_id",
|
||||
as: "shop",
|
||||
},
|
||||
},
|
||||
{
|
||||
$unwind: "$shop",
|
||||
},
|
||||
{
|
||||
$lookup: {
|
||||
from: "orders",
|
||||
|
||||
Reference in New Issue
Block a user