diff --git a/src/main/resources/mapper/pms/QcReportMapper.xml b/src/main/resources/mapper/pms/QcReportMapper.xml index 39297c7..893cd1d 100644 --- a/src/main/resources/mapper/pms/QcReportMapper.xml +++ b/src/main/resources/mapper/pms/QcReportMapper.xml @@ -205,7 +205,7 @@ left join part as d on a.site = d.site and a.part_no = d.PartNo left join UM as um on a.site = um.site and a.um_id = um.UMID LEFT JOIN WorkCenter as wc on a.site = wc.site and a.work_center_no = wc.WorkCenterNo - left join WorkCenterResource as r1 on a.site = r.site and a.actual_resource_id = r.resourceID + left join WorkCenterResource as r1 on a.site = r1.site and a.actual_resource_id = r1.resourceID a.site in (select site from eam_access_site where username = #{query.userName}) and (a.site + '-' + a.bu_no) in (select * from dbo.query_bu(#{query.userName}))