因为是第三方系统不确定某一个字段的值为什么会被改变、可以写一个触发器拦截。
BEGIN if (new.dnd != '1' and new.dnd != '0') then set new.dnd = old.dnd; end if; END
发表评论