From 83d3c6ec7fc56157d7624ab2dc98d5aed0943d9b Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期一, 16 三月 2026 09:55:25 +0800
Subject: [PATCH] 指标绑定调整关联产品id
---
src/main/resources/mapper/production/ProductMaterialMapper.xml | 15 ++++-----------
1 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/src/main/resources/mapper/production/ProductMaterialMapper.xml b/src/main/resources/mapper/production/ProductMaterialMapper.xml
index 32c1ba1..827273a 100644
--- a/src/main/resources/mapper/production/ProductMaterialMapper.xml
+++ b/src/main/resources/mapper/production/ProductMaterialMapper.xml
@@ -3,21 +3,14 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.production.mapper.ProductMaterialMapper">
+
<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="identifierCode" column="identifier_code"/>
- <result property="materialCode" column="material_code"/>
+ <result property="materialTypeId" column="material_type_id"/>
+ <result property="inventoryCategoryId" column="inventory_category_id"/>
<result property="productName" column="product_name"/>
- <result property="materialName" column="material_name"/>
- <result property="specification" column="specification"/>
- <result property="baseUnit" column="base_unit"/>
- <result property="materialAttribute" column="material_attribute"/>
- <result property="finishedProductName" column="finished_product_name"/>
- <result property="originatorName" column="originator_name"/>
- <result property="originatorOrg" column="originator_org"/>
+ <result property="unit" column="unit"/>
<result property="remark" column="remark"/>
<result property="createTime" column="create_time"/>
<result property="updateTime" column="update_time"/>
--
Gitblit v1.9.3