fixing: callback transaction
This commit is contained in:
@@ -37,4 +37,9 @@ export class ProductHistoryPrice extends BaseModel {
|
||||
default: 0,
|
||||
})
|
||||
admin_price: number;
|
||||
|
||||
@Column({
|
||||
default: 0,
|
||||
})
|
||||
partner_fee: number;
|
||||
}
|
||||
|
||||
@@ -110,6 +110,8 @@ export class ProductService {
|
||||
type: productType.NORMAL,
|
||||
startDate: new Date(),
|
||||
partner: it[6] != '-' ? partnerData : null,
|
||||
admin_price: it[8],
|
||||
partner_fee: it[9],
|
||||
});
|
||||
} else {
|
||||
let partnerData;
|
||||
@@ -135,6 +137,8 @@ export class ProductService {
|
||||
startDate: new Date(),
|
||||
endDate: null,
|
||||
partner: partnerData,
|
||||
admin_price: it[8],
|
||||
partner_fee: it[9],
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user