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

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_beforeInsert`
BEFORE INSERT ON `saleGroupDetail`
FOR EACH ROW
BEGIN
SET NEW.editorFk = account.myUser_getId();
END$$
DELIMITER ;