mysql 在int ,bit类型中都 支持not 取反操作 update new_table set a =not a where id =6;这个东西适合在前端做enable disable时变更状态