|
@@ -412,7 +412,8 @@ public class SyncUtil {
|
|
|
sb.append(" left join t_hbpm_position pos on pos.fid = f.fpositionid -- 岗位\n");
|
|
|
sb.append(" left join t_hbpm_position pos1 on pos1.fid = pos.fparentid -- 上级岗位\n");
|
|
|
sb.append(" left join t_hbss_sex sex on sex.fid = b.fgenderid -- 性别\n");
|
|
|
- sb.append(" left join t_hbss_workplace wp on wp.fid = f.fworkplaceid -- 工作地点\n");
|
|
|
+ sb.append(" left join t_hrpi_baselocation t on t.fpersonid = a.fid and t.fiscurrentversion = '1' and t.fbusinessstatus = '1' -- 常驻工作地\n ");
|
|
|
+ sb.append(" left join t_hbss_workplace wp on wp.fid = t.flocationId -- 工作地点\n");
|
|
|
sb.append(" left join t_hbss_nationality nation on nation.fid = b.fnationalityid -- 国籍\n");
|
|
|
sb.append(" left join t_htm_quitfileinfo i on i.femployeeid = f.femployeeid -- 离职档案\n");
|
|
|
sb.append(" left join t_htm_quitapplybill j on j.fid = i.fquitapplyid -- 离职办理单\n");
|