From d2deb841f9030547c043e6a94ceb6b2483599e44 Mon Sep 17 00:00:00 2001 From: mfadiln2018 Date: Mon, 23 May 2022 21:31:23 +0700 Subject: [PATCH] Feat: add column admin_price --- src/product/product.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/product/product.service.ts b/src/product/product.service.ts index 03c082f..e81bb71 100644 --- a/src/product/product.service.ts +++ b/src/product/product.service.ts @@ -189,6 +189,7 @@ export class ProductService { ]) .addSelect('current_price.price', 'price') .addSelect('current_price.partner_fee', 'partner_fee') + .addSelect('current_price.admin_price', 'admin_price') .addSelect( '(current_price.price + current_price.mark_up_price) as mark_up_price', )