This commit is contained in:
Fadli 2022-11-17 02:45:53 +07:00
commit 29def85db0

View File

@ -1555,6 +1555,7 @@ export class TransactionService {
} }
try { try {
console.log('updatestatustrans', 'update');
await this.connection.transaction(async (manager) => { await this.connection.transaction(async (manager) => {
await manager.save(dataTransaction); await manager.save(dataTransaction);
await manager.save(dataProductHistoryPrice); await manager.save(dataProductHistoryPrice);
@ -1568,6 +1569,7 @@ export class TransactionService {
}); });
}); });
} catch (e) { } catch (e) {
console.log('errupdatestatus', e);
throw e; throw e;
} }