From 880caee0e3d9a239a60f4df4acf3c35adafb55d5 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期六, 25 四月 2026 15:43:21 +0800
Subject: [PATCH] 如果不良数量是空,则置零

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

diff --git a/src/main/resources/mapper/production/ProcessRouteItemMapper.xml b/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
index 1b5e2b4..11cda74 100644
--- a/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
+++ b/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
@@ -21,7 +21,8 @@
                pm.product_id,
                pm.model,
                p.product_name,
-               pm.unit
+               pm.unit,
+               pm.material_code as materialCode
         from
             process_route_item pri
                 left join product_model pm on pri.product_model_id = pm.id

--
Gitblit v1.9.3