From b51b50a7ddef6fcb582ffc243864bbf60bf01adc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E4=B8=87=E9=87=8C?= <1726150332@qq.com>
Date: Fri, 26 Sep 2025 16:12:22 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E4=B8=80=E6=AC=A1=E6=A3=80?=
=?UTF-8?q?=E9=AA=8C=E5=90=88=E6=A0=BC=E7=8E=87=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../main/resources/mapper/quality/QcStaticTableMapper.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/op-modules/op-quality/src/main/resources/mapper/quality/QcStaticTableMapper.xml b/op-modules/op-quality/src/main/resources/mapper/quality/QcStaticTableMapper.xml
index 592c690cb..019c7f337 100644
--- a/op-modules/op-quality/src/main/resources/mapper/quality/QcStaticTableMapper.xml
+++ b/op-modules/op-quality/src/main/resources/mapper/quality/QcStaticTableMapper.xml
@@ -91,13 +91,13 @@
sum(qctd2.noOk_quality)*type2.ratio bNoOkquality,
sum(qctd3.noOk_quality)*type3.ratio cNoOkquality
from qc_check_task qct
- left join qc_check_task_defect qctd1 on qct.record_id = qctd1.belong_to and qctd1.defect_code = '20231212001'
+ left join qc_check_task_defect qctd1 on qct.record_id = qctd1.belong_to and qctd1.defect_code = '20250823001'
left join qc_defect_type type1 on qctd1.defect_code = type1.defect_code
- left join qc_check_task_defect qctd2 on qct.record_id = qctd2.belong_to and qctd2.defect_code = '20231212002'
+ left join qc_check_task_defect qctd2 on qct.record_id = qctd2.belong_to and qctd2.defect_code = '20240822007'
left join qc_defect_type type2 on qctd2.defect_code = type2.defect_code
- left join qc_check_task_defect qctd3 on qct.record_id = qctd3.belong_to and qctd3.defect_code = '20231212003'
+ left join qc_check_task_defect qctd3 on qct.record_id = qctd3.belong_to and qctd3.defect_code = '20250823002'
left join qc_defect_type type3 on qctd3.defect_code = type3.defect_code
- where qct.del_flag = '0' and qct.type_code = 'produce' and qct.check_type = 'checkTypeCPPC'
+ where qct.del_flag = '0' and qct.type_code = 'product' and qct.check_type = 'checkTypeCPPC'
and qct.material_code in (${materialCode})
and qct.supplier_code = #{workCenter}
and CONVERT(varchar(10),qct.create_time, 120) >= #{ymArrayStart}