feat: refs #6822 change request
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
4b474834cf
commit
be394cec28
|
@ -33,7 +33,7 @@ module.exports = Self => {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await Self.rawSql('CALL vn.entry_transfer(?, @vNewEntry)', [id], myOptions);
|
await Self.rawSql('CALL vn.entry_transfer(?, @vNewEntry)', [id], myOptions);
|
||||||
const newEntryFk = await Self.rawSql('SELECT @vNewEntry AS newEntryFk', [], myOptions);
|
const newEntryFk = await Self.rawSql('SELECT @vNewEntry newEntryFk', [], myOptions);
|
||||||
|
|
||||||
if (tx) await tx.commit();
|
if (tx) await tx.commit();
|
||||||
return newEntryFk;
|
return newEntryFk;
|
||||||
|
|
Loading…
Reference in New Issue