From 1495399616551de32ebbc5d11ced9f3510e81386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=AE=8F=E6=96=8C?= <2164406372@qq.com> Date: Fri, 8 Aug 2025 10:42:57 +0800 Subject: [PATCH] =?UTF-8?q?QMS-***=E4=BB=BB=E5=8A=A1=EF=BC=9A=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=97=B6=20=E9=80=89=E6=8B=A9=E6=B4=BE=E5=B7=A5?= =?UTF-8?q?=E5=8D=95=E5=8F=B7=E5=B8=A6=E5=87=BA=E6=A3=80=E9=AA=8C=E6=A8=A1?= =?UTF-8?q?=E6=9D=BFid=20=20=E5=A2=9E=E5=8A=A0=E6=A3=80=E9=AA=8C=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/pms/QcMapper.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/resources/mapper/pms/QcMapper.xml b/src/main/resources/mapper/pms/QcMapper.xml index fc711a6f..49cf576b 100644 --- a/src/main/resources/mapper/pms/QcMapper.xml +++ b/src/main/resources/mapper/pms/QcMapper.xml @@ -1116,7 +1116,12 @@ LEFT JOIN qc_sampling_inspection_level as qsil ON qat.sampling_level_no = qsil.sampling_level_no and qat.site = qsil.site and qat.bu_no = qsil.bu_no LEFT JOIN qc_inspection_type as qit ON qt.inspection_type_no = qit.inspection_type_no and qt.site = qit.site LEFT JOIN qc_sampling_inspection_programme as qsip ON qat.sampling_programme_no = qsip.sampling_programme_no and qat.site = qsip.site and qat.bu_no = qsip.bu_no - WHERE qat.site = #{site} and qpa.attribute_type = #{attributeType} and qpa.attribute_no = #{attributeNo} and qat.bu_no = #{buNo} + + qat.site = #{site} and qpa.attribute_type = #{attributeType} and qpa.attribute_no = #{attributeNo} and qat.bu_no = #{buNo} + + and qt.inspection_type_no = #{inspectionTypeNo} + +