salix/db/routines/vn/triggers/saleGroupDetail._beforeInse...

9 lines
218 B
MySQL
Raw Normal View History

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