From 67de53af3d78d28eda960037f39646b6886a9ee8 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 27 三月 2026 15:13:05 +0800
Subject: [PATCH] yys 1.生产修改物料投入逻辑
---
src/main/resources/mapper/production/ProductStructureRecordMapper.xml | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/production/ProductStructureRecordMapper.xml b/src/main/resources/mapper/production/ProductStructureRecordMapper.xml
index 254518a..4957a61 100644
--- a/src/main/resources/mapper/production/ProductStructureRecordMapper.xml
+++ b/src/main/resources/mapper/production/ProductStructureRecordMapper.xml
@@ -15,5 +15,18 @@
<result column="tenant_id" property="tenantId" />
<result column="bom_id" property="bomId" />
</resultMap>
+ <select id="listPage" resultType="com.ruoyi.production.pojo.ProductStructureRecord">
+ select psr.*,
+ pm.model,
+ p.product_name
+ from product_structure_record psr
+ left join product_model pm on pm.id = psr.product_model_id
+ left join product p on p.id = pm.product_id
+ <where>
+ <if test="req.productOrderId != null">
+ and psr.product_order_id = #{req.productOrderId}
+ </if>
+ </where>
+ </select>
</mapper>
--
Gitblit v1.9.3