From eaf6548902e9472fc9b876d531db8508e16c4f2f Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期五, 20 三月 2026 13:49:43 +0800
Subject: [PATCH] feat: 生产订单的撤回、删除;BOM的子集新增/修改统一使用临时ID处理
---
src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml b/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml
index 6ba77c5..33e3ffe 100644
--- a/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml
+++ b/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml
@@ -14,9 +14,13 @@
<result column="tenant_id" property="tenantId"/>
</resultMap>
<select id="listBinding" resultType="com.ruoyi.quality.dto.QualityTestStandardBindingDto">
- select *
+ select t3.product_name ,
+ t2.model ,
+ t2.material_code ,
+ t1.id qualityTestStandardBindingId
from quality_test_standard_binding t1
- left join product t2 on t1.product_id = t2.id
+ left join product_material_sku t2 on t1.product_id = t2.id
+ left join product_material t3 on t2.product_id = t3.id
where t1.test_standard_id = #{testStandardId}
</select>
--
Gitblit v1.9.3