From 9f6a65e7f4b87b0e27e7d2949b4e42f40419b2ff Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期日, 20 九月 2026 09:19:53 +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