业务数据清除脚本 1012 B

1234567891011121314151617181920212223242526272829
  1. -- 清除工作日志与工作任务
  2. DELETE FROM pc_dowork WHERE 1=1;
  3. DELETE FROM pc_dotask_user WHERE 1=1;
  4. DELETE FROM pc_dotask WHERE 1=1;
  5. -- 清除岗位与企业信息
  6. DELETE FROM pc_post WHERE 1=1;
  7. DELETE FROM pc_company WHERE 1=1;
  8. -- 清除求职人员推荐信息库
  9. DELETE FROM pc_recommend_mgt WHERE 1=1;
  10. DELETE FROM pc_recommend WHERE 1=1;
  11. -- 清除求职人员与求职意向基本信息
  12. DELETE FROM pc_jobhunt WHERE 1=1;
  13. DELETE FROM pc_education WHERE 1=1; -- 学历
  14. DELETE FROM pc_experience WHERE 1=1; -- 工作经历
  15. DELETE FROM pc_jobuser WHERE 1=1;
  16. -- 清除运营机构与驿站人员、驿站基本信息
  17. DELETE FROM pc_site_institution WHERE 1=1;
  18. DELETE FROM pc_institution WHERE 1=1;
  19. DELETE FROM pc_site_user WHERE 1=1;
  20. DELETE FROM pc_site WHERE 1=1;
  21. -- 删除用户表只保留admin
  22. -- DELETE FROM sys_log WHERE 1=1;
  23. -- DELETE FROM sys_user_sys_role WHERE UserID != '60ea0d5b-a75c-11ed-a6c5-7085c2a9999e';
  24. -- DELETE FROM sys_user WHERE UserID != '60ea0d5b-a75c-11ed-a6c5-7085c2a9999e';