From c92915b999f52f5e986e158a51a1c68d5849d17c Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期六, 19 九月 2026 17:30:27 +0800
Subject: [PATCH] feat(technology): 用TechnologyOperation替换ProductProcess改进BOM处理
---
src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml b/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml
index 6ba77c5..aba3340 100644
--- a/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml
+++ b/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml
@@ -14,9 +14,12 @@
<result column="tenant_id" property="tenantId"/>
</resultMap>
<select id="listBinding" resultType="com.ruoyi.quality.dto.QualityTestStandardBindingDto">
- select *
+ select t2.product_name,
+ t3.model,
+ t1.id qualityTestStandardBindingId
from quality_test_standard_binding t1
left join product t2 on t1.product_id = t2.id
+ left join product_model t3 on t1.product_model_id = t3.id
where t1.test_standard_id = #{testStandardId}
</select>
--
Gitblit v1.9.3