fixing: transaction create
This commit is contained in:
@@ -23,6 +23,7 @@ export class ProductHistoryPriceService {
|
||||
const result = await this.productHistoryPriceRepository
|
||||
.createQueryBuilder('product_history_price')
|
||||
.leftJoin('product_history_price.product', 'product')
|
||||
.leftJoinAndSelect('product_history_price.partner', 'partner')
|
||||
.where({ product: productId })
|
||||
.andWhere('product_history_price.endDate IS NULL')
|
||||
.getMany();
|
||||
|
||||
Reference in New Issue
Block a user