From 2a26a5fa027d17aa11bde0b7fdc4e80bde554c84 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 12 十月 2026 14:58:29 +0800
Subject: [PATCH] 银川九鸿化工需求:商机状态组改为非必填
---
yudao-module-mes/src/main/resources/mapper/qc/pendinginspect/MesQcPendingInspectMapper.xml | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/yudao-module-mes/src/main/resources/mapper/qc/pendinginspect/MesQcPendingInspectMapper.xml b/yudao-module-mes/src/main/resources/mapper/qc/pendinginspect/MesQcPendingInspectMapper.xml
index ce2de7c..7928816 100644
--- a/yudao-module-mes/src/main/resources/mapper/qc/pendinginspect/MesQcPendingInspectMapper.xml
+++ b/yudao-module-mes/src/main/resources/mapper/qc/pendinginspect/MesQcPendingInspectMapper.xml
@@ -22,6 +22,7 @@
n.arrival_date AS recordTime,
${@cn.iocoder.yudao.module.mes.enums.qc.MesQcTypeEnum@IQC.type} AS qcType,
l.item_id AS itemId,
+ NULL AS batchCode,
l.arrival_quantity AS quantity,
n.vendor_id AS vendorId,
NULL AS workOrderId,
@@ -47,6 +48,7 @@
r.receipt_date AS recordTime,
${@cn.iocoder.yudao.module.mes.enums.qc.MesQcTypeEnum@IQC.type} AS qcType,
rl.item_id AS itemId,
+ NULL AS batchCode,
rl.quantity AS quantity,
r.vendor_id AS vendorId,
NULL AS workOrderId,
@@ -72,11 +74,12 @@
pf.feedback_time AS recordTime,
${@cn.iocoder.yudao.module.mes.enums.qc.MesQcTypeEnum@IPQC.type} AS qcType,
ppl.item_id AS itemId,
+ ppl.batch_code AS batchCode,
ppl.quantity AS quantity,
NULL AS vendorId,
- pp.work_order_id AS workOrderId,
- pp.workstation_id AS workstationId,
- pp.task_id AS taskId,
+ pf.work_order_id AS workOrderId,
+ pf.workstation_id AS workstationId,
+ pf.task_id AS taskId,
NULL AS clientId
FROM mes_wm_product_produce_line ppl
JOIN mes_wm_product_produce pp ON ppl.produce_id = pp.id
@@ -97,6 +100,7 @@
s.sales_date AS recordTime,
${@cn.iocoder.yudao.module.mes.enums.qc.MesQcTypeEnum@OQC.type} AS qcType,
sl.item_id AS itemId,
+ NULL AS batchCode,
sl.quantity AS quantity,
NULL AS vendorId,
NULL AS workOrderId,
@@ -122,11 +126,12 @@
ri.return_date AS recordTime,
${@cn.iocoder.yudao.module.mes.enums.qc.MesQcTypeEnum@RQC.type} AS qcType,
ril.item_id AS itemId,
+ NULL AS batchCode,
ril.quantity AS quantity,
NULL AS vendorId,
ri.work_order_id AS workOrderId,
ri.workstation_id AS workstationId,
- NULL AS taskId,
+ ri.task_id AS taskId,
NULL AS clientId
FROM mes_wm_return_issue ri
JOIN mes_wm_return_issue_line ril ON ri.id = ril.issue_id
@@ -148,6 +153,7 @@
r.return_date AS recordTime,
${@cn.iocoder.yudao.module.mes.enums.qc.MesQcTypeEnum@RQC.type} AS qcType,
rl.item_id AS itemId,
+ NULL AS batchCode,
rl.quantity AS quantity,
NULL AS vendorId,
NULL AS workOrderId,
--
Gitblit v1.9.3