一、删除指定扣缴义务人下的档案 操作前做好数据备份 删除扣缴义务人下的档案(注意删除后,再添加进扣缴义务人,不会自动生成档案) 1、查询hrsa_tax_agent表对应扣缴义务人id select id from hrsa_tax_agent 2、删除社保福利档案 update hrsa_insurance_base_info set delete_type=3 where payment_organization = 扣缴义务人id update hrsa_social_archives set delete_type=3 where payment_organization = 扣缴义务人id update hrsa_fund_archives set delete_type=3 where payment_organization = 扣缴义务人id update hrsa_other_archives set delete_type=3 where payment_organization = 扣缴义务人id 3、删除薪资档案 update hrsa_salary_archive set delete_type=3 where tax_agent_id=扣缴义务人id 二、删除停薪员工档案 update hrsa_salary_archive set delete_type=3 where run_status in ('STOP_FROM_PENDING','STOP_FROM_SUSPEND') .\wkhtmltopdf.exe http://127.0.0.1:8080/spa/hrmSalary/static/index.html#/main/hrmSalary/mobilepayroll?id=1694053661638&recipient=92&type=phone C:\baidu.pdf