|
@@ -95,6 +95,7 @@ class CartService {
|
|
|
|
|
|
name: DbSchema.shop.products.name,
|
|
name: DbSchema.shop.products.name,
|
|
addedAt: DbSchema.shop.cartItems.addedAt,
|
|
addedAt: DbSchema.shop.cartItems.addedAt,
|
|
|
|
+ orderId: DbSchema.shop.cartItems.orderId.nullable(),
|
|
}),
|
|
}),
|
|
),
|
|
),
|
|
}),
|
|
}),
|
|
@@ -127,7 +128,9 @@ class CartService {
|
|
'peMemberIdentity', ui.identity,
|
|
'peMemberIdentity', ui.identity,
|
|
|
|
|
|
'name', p."name",
|
|
'name', p."name",
|
|
- 'addedAt', to_char(ci.added_at AT TIME ZONE 'UTC', 'YYYY-MM-DD"T"HH24:MI:SS.MS') || 'Z'
|
|
|
|
|
|
+ 'addedAt', to_char(ci.added_at AT TIME ZONE 'UTC', 'YYYY-MM-DD"T"HH24:MI:SS.MS') || 'Z',
|
|
|
|
+
|
|
|
|
+ 'orderId', ci.order_id
|
|
)) items
|
|
)) items
|
|
from
|
|
from
|
|
shop.cart_items ci
|
|
shop.cart_items ci
|