2024-10-07 12:21:18 +00:00
|
|
|
DELIMITER $$
|
|
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `hedera`.`orderRow_afterInsert`
|
|
|
|
AFTER INSERT ON `orderRow`
|
|
|
|
FOR EACH ROW
|
|
|
|
BEGIN
|
2024-10-14 12:11:57 +00:00
|
|
|
UPDATE `order`
|
|
|
|
SET rowUpdated = util.VN_NOW()
|
2024-10-07 12:21:18 +00:00
|
|
|
WHERE id = NEW.orderFk;
|
|
|
|
END$$
|
2024-10-14 12:11:57 +00:00
|
|
|
DELIMITER ;
|