Feat: add column partner_fee
This commit is contained in:
parent
044a5082e1
commit
0934147c51
|
@ -186,9 +186,9 @@ export class ProductService {
|
||||||
'supplier.name',
|
'supplier.name',
|
||||||
'category.name',
|
'category.name',
|
||||||
'product.status',
|
'product.status',
|
||||||
'current_price.admin_price as admin_price',
|
|
||||||
])
|
])
|
||||||
.addSelect('current_price.price')
|
.addSelect('current_price.price', 'price')
|
||||||
|
.addSelect('current_price.partner_fee', 'partner_fee')
|
||||||
.addSelect(
|
.addSelect(
|
||||||
'(current_price.price + current_price.mark_up_price) as mark_up_price',
|
'(current_price.price + current_price.mark_up_price) as mark_up_price',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user