From 4a82ac1bfb3e3cd04d6dd6c07aaee6c0d70df13e Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 12 三月 2026 09:59:32 +0800
Subject: [PATCH] 主生产计划:产品信息改为关联查询
---
src/main/resources/mapper/production/ProductMaterialMapper.xml | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/production/ProductMaterialMapper.xml b/src/main/resources/mapper/production/ProductMaterialMapper.xml
index 32c1ba1..84d8ca4 100644
--- a/src/main/resources/mapper/production/ProductMaterialMapper.xml
+++ b/src/main/resources/mapper/production/ProductMaterialMapper.xml
@@ -6,11 +6,10 @@
<resultMap id="ProductMaterialResultMap" type="com.ruoyi.production.pojo.ProductMaterial">
<id property="id" column="id"/>
<result property="tenantId" column="tenant_id"/>
- <result property="materialType" column="material_type"/>
- <result property="inventoryCategory" column="inventory_category"/>
+ <result property="materialTypeId" column="material_type_id"/>
+ <result property="inventoryCategoryId" column="inventory_category_id"/>
<result property="identifierCode" column="identifier_code"/>
<result property="materialCode" column="material_code"/>
- <result property="productName" column="product_name"/>
<result property="materialName" column="material_name"/>
<result property="specification" column="specification"/>
<result property="baseUnit" column="base_unit"/>
--
Gitblit v1.9.3