From 71dda4d73cf891ef83759925855c3a88fa4fc6b8 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 12 五月 2026 10:05:10 +0800
Subject: [PATCH] 解决user不存在问题

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

diff --git a/src/main/resources/mapper/production/ProductionProductInputMapper.xml b/src/main/resources/mapper/production/ProductionProductInputMapper.xml
index 65e2b96..35691be 100644
--- a/src/main/resources/mapper/production/ProductionProductInputMapper.xml
+++ b/src/main/resources/mapper/production/ProductionProductInputMapper.xml
@@ -7,6 +7,7 @@
         <result property="productMainId" column="product_main_id"/>
         <result property="productModelId" column="product_model_id"/>
         <result property="quantity" column="quantity"/>
+        <result property="batchNo" column="batch_no"/>
         <result property="tenantId" column="tenant_id"/>
         <result property="createTime" column="create_time"/>
     </resultMap>
@@ -15,7 +16,8 @@
         pm.model as model,
         ppm.product_no as productNo,
         p.product_name,
-        pm.unit
+        pm.unit,
+        pm.material_code as materialCode
         from
         production_product_input ppi
         left join production_product_main ppm on ppm.id = ppi.product_main_id

--
Gitblit v1.9.3