feat(salix): refs #6321 #6321 improve split mehtod
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
aab7a7ec73
commit
7468f87808
|
@ -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});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue