From e0cfecb2b11b3d6ac91394e71c689a30356ead28 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 20 五月 2026 09:29:28 +0800
Subject: [PATCH] fix:1.生产按照特定工序更改 2.库存按照型号,工序类别,电压进行筛选 3.销售页面展示电压,类别 4.生产入库按照电压入库

---
 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