From 61e45a2a7c94d845de5b9ace90bfee4bc9af4fd2 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 01 四月 2026 11:32:21 +0800
Subject: [PATCH] 显示料号

---
 src/main/resources/mapper/production/ProductionProductMainMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/production/ProductionProductMainMapper.xml b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
index c2dc1d8..5ea73fa 100644
--- a/src/main/resources/mapper/production/ProductionProductMainMapper.xml
+++ b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -21,6 +21,7 @@
         pp.name as process,
         pp.qualified_rate as processQualifiedRate,
         pm.model as productModelName,
+        pm.material_code as materialCode,
         ppo.quantity,
         ppo.scrap_qty,
         (ppo.quantity - ppo.scrap_qty) as qualifiedQty,
@@ -67,7 +68,6 @@
         ppo.quantity,
         ppo.scrap_qty,
         ppo.other_data,
-        (ppo.quantity - ppo.scrap_qty) as qualifiedQty,
         pm.unit
         from
         production_product_main ppm
@@ -100,6 +100,7 @@
         p.product_name,
         pm.model as product_model_name,
         pm.unit,
+        pm.material_code as materialCode,
         slpa.process,
         ppo.quantity,
         slpa.work_hours,

--
Gitblit v1.9.3