fix: refs #7752 refactor insert
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Pablo Natek 2024-07-18 15:16:25 +02:00
parent 684983ee42
commit 3b529440ba
1 changed files with 1 additions and 2 deletions

View File

@ -70,8 +70,7 @@ BEGIN
CALL util.throw ('TRUCK_NOT_AVAILABLE');
END IF;
INSERT INTO expeditionPallet(truckFk)
VALUES(vTruckFk);
INSERT INTO expeditionPallet SET truckFk = vTruckFk;
SET vPalletFk = LAST_INSERT_ID();
END IF;