From 12b84829e1c9bdcbe5b4dd6aa906b808c851fb52 Mon Sep 17 00:00:00 2001 From: jiayang yue Date: Tue, 6 May 2025 17:08:25 +0800 Subject: [PATCH] =?UTF-8?q?2025.05.06=20ipqc=20=E6=9F=A5=E8=AF=A2sql?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/pms/QcReportMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}))