From 23eae34062170cf36e051476c5d992c2d7d1de84 Mon Sep 17 00:00:00 2001 From: dxfeng Date: Wed, 21 Dec 2022 13:38:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E5=AF=BC=E5=87=BABUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../engine/organization/mapper/resource/ResourceMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/engine/organization/mapper/resource/ResourceMapper.xml b/src/com/engine/organization/mapper/resource/ResourceMapper.xml index 03d01e98..a78fcf73 100644 --- a/src/com/engine/organization/mapper/resource/ResourceMapper.xml +++ b/src/com/engine/organization/mapper/resource/ResourceMapper.xml @@ -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