- change status to product history status and only 1 value get from table product history status if value is same
This commit is contained in:
parent
ce99cf5327
commit
52d712fd05
|
@ -387,6 +387,7 @@ export class ProductService {
|
||||||
'current_price.price as price',
|
'current_price.price as price',
|
||||||
])
|
])
|
||||||
.addSelect('history_status.status', 'status')
|
.addSelect('history_status.status', 'status')
|
||||||
|
.distinct()
|
||||||
// .addSelect(
|
// .addSelect(
|
||||||
// '(current_price.price + current_price.mark_up_price) as price',
|
// '(current_price.price + current_price.mark_up_price) as price',
|
||||||
// );
|
// );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user