方法: SET FOREIGN_KEY_CHECKS = 0; update system_module set id = 54 where id = 122; SET FOREIGN_KEY_CHECKS = 1;