feat(salix): refs #6321 #6321 improve split mehtod
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Javier Segarra 2024-05-30 07:46:10 +02:00
parent aab7a7ec73
commit 7468f87808
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ module.exports = Self => {
await Self.transferSales(ctx, tid, vNewTicket, sales, myOptions);
await Self.rawSql(`CALL vn.ticket_setState(?, ?)`, [tid, 'FIXING'], myOptions);
results.push({ticket: tid, status: 'split'});
results.push({ticket: tid, newTicket: vNewTicket, status: 'split'});
await tx.commit();
} catch ({message}) {
results.push({ticket: tid, status: 'error', message});
}