From 2c91e6bf29c5f8e21b7aa5cdbe0e7c8e8a55897b Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期四, 01 十月 2026 14:52:06 +0800
Subject: [PATCH] chore: 薪火智能配置文件
---
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