|
|
|
@ -59,8 +59,8 @@
|
|
|
|
|
SELECT t.lastname as lastName,d.departmentname as departmentName,
|
|
|
|
|
c.subcompanyname as companyName,t.mobile,t.telephone,t1.lastname as managerName
|
|
|
|
|
from hrmresource t
|
|
|
|
|
left join hrmdepartment d on t.subcompanyid1 = d.id
|
|
|
|
|
left join hrmsubcompany c on t.departmentid = c.id
|
|
|
|
|
left join hrmdepartment d on t.departmentid = d.id
|
|
|
|
|
left join hrmsubcompany c on t.subcompanyid1 = c.id
|
|
|
|
|
left join hrmresource t1 on t.managerid = t1.id
|
|
|
|
|
where 1 = 1
|
|
|
|
|
<if test="ids != null and ids.size > 0">
|
|
|
|
|