use kgraph; DELETE from sys_user_post; DELETE from sys_dept; update `sys_user` set dept_id = null; commit;