在触发器中写修改语句:
update table set sn=sn - 1 where sn > :new.sn;