插入或者更新的时候触发同步往tmp_sync插入一条数据
begin
insert into tmp_sync(id, bizid, petitionid, type, createdon) select sys_guid(), :new.id, :new.id, ‘petition’, sysdate from dual;
exception when others then
return;
end;
oracle配置如下
oracle触发器设定
最新推荐文章于 2023-01-08 19:51:37 发布