feat: refs #6861 trigger
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Sergio De la torre 2024-05-27 12:21:22 +02:00
parent e133dec514
commit 32aafc3545
1 changed files with 7 additions and 5 deletions

View File

@ -3,7 +3,6 @@ CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`itemShelving_afterIns
AFTER INSERT ON `itemShelving`
FOR EACH ROW
BEGIN
INSERT INTO vn.itemShelvingLog(
itemShelvingFk,
workerFk,
@ -13,8 +12,10 @@ BEGIN
visible,
`grouping`,
packing,
available)
VALUES( NEW.id,
available
)
VALUES (
NEW.id,
NEW.userFk,
'CREA REGISTRO',
NEW.itemFk,
@ -22,6 +23,7 @@ BEGIN
NEW.visible,
NEW.`grouping`,
NEW.packing,
NEW.available);
NEW.available
);
END$$
DELIMITER ;