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
0038fabcc6
commit
2ee5ba908a
|
@ -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 newEntryFk', null, myOptions);
|
const [newEntryFk] = await Self.rawSql('SELECT @vNewEntry newEntryFk', null, myOptions);
|
||||||
|
|
||||||
if (tx) await tx.commit();
|
if (tx) await tx.commit();
|
||||||
return newEntryFk;
|
return newEntryFk;
|
||||||
|
|
Loading…
Reference in New Issue