salix/db/routines/vn/triggers/saleGroupDetail_beforeUpdat...

9 lines
220 B
MySQL
Raw Normal View History

2024-09-03 06:17:27 +00:00
DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`saleGroupDetail_beforeUpdate`
BEFORE UPDATE ON `saleGroupDetail`
FOR EACH ROW
BEGIN
SET NEW.editorFk = account.myUser_getId();
END$$
DELIMITER ;