begin if OLD.Water<0 then UPDATE wr_user SET Water=0 WHERE openid=OLD.openid; end if; end