全量数据

This commit is contained in:
钱涛 2023-04-20 17:55:37 +08:00
parent aeab5c75f5
commit 135530d3b7
1 changed files with 4 additions and 1 deletions

View File

@ -172,9 +172,12 @@
c.id as jobtitleId,
e.companystartdate as companystartdate,
e.mobile as mobile,
e.enddate as dismissdate
e.enddate as dismissdate,
sc.SUBCOMPANYNAME as subcompanyName,
sc.id as subcompanyid,
from hrmresource e
left join hrmdepartment d on e.departmentid = d.id
left join HrmSubCompany sc on e.SUBCOMPANYID1=sc.id
left join hrmjobtitles c on e.jobtitle = c.id
where e.status not in (7)
and (e.accounttype is null or e.accounttype = 0)