fix: transaction service
This commit is contained in:
parent
ec6e8da63c
commit
ddda6020a3
|
@ -115,8 +115,8 @@ export class ProductHistoryPriceService {
|
|||
const query = this.productHistoryPriceRepository
|
||||
.createQueryBuilder('product_history_price')
|
||||
.leftJoin('product_history_price.product', 'product')
|
||||
.where({ product: productId })
|
||||
.andWhere('product_history_price.endDate IS NULL');
|
||||
.where({ product: productId });
|
||||
// .andWhere('product_history_price.endDate IS NULL');
|
||||
|
||||
if (supplierId !== 'null' && supplierId) {
|
||||
query.andWhere('product.supplier = :supplierId', {
|
||||
|
|
Loading…
Reference in New Issue
Block a user