查询审批通过的离职单且已过离职日期,但是没有离职的员工

栏目:s-hr cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-22浏览:1

查询审批通过的离职单且已过离职日期,但是没有离职的员工

SELECT c.fname_l2,c.fnumber,a.FLEFTCOMPANYDATE ,d.fnumber FROM T_HR_RESIGNBIZBILLentry a

left join T_HR_EMPORGRELATION b on a.fid=b.FFlowInAffairID

left join T_BD_PERSON c on a.fpersonid=c.fid

left join T_HR_RESIGNBIZBILL d on d.fid=a.fbillid

where a.FLEFTCOMPANYDATE +1

and d.FBILLSTATE =3

and b.fid is null


查询审批通过的离职单且已过离职日期,但是没有离职的员工

SELECT c.fname_l2,c.fnumber,a.FLEFTCOMPANYDATE ,d.fnumber FROM T_HR_RESIGNBIZBILLentry aleft join T_HR_EMPORGRELATION b o...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息