weaver-hrm-salary/resource/wiki/常见问题.md

598 B

薪资档案生成不了

select id from hrsa_tax_agent_emp where tax_agent_id =扣缴义务人id and delete_type = 0 and employee_id not in (select employee_id from hrsa_salary_archive where tax_agent_id =扣缴义务人id and delete_type = 0)

update hrsa_tax_agent_emp set delete_type = 3 where delete_type = 0 where tax_agent_id=扣缴义务人id and delete_type = 0 and employee_id not in (select employee_id from hrsa_salary_archive where tax_agent_id =扣缴义务人id and delete_type = 0)

考勤引用

drop sequence HRSA_ATTEND_QUOTE_ID /

drop trigger HRSA_ATTEND_QUOTE_TRI /