From d546e42089177442c5e43f9944052fcf3611b08d Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期三, 16 九月 2026 16:22:40 +0800
Subject: [PATCH] feat: 质检绑定支持规格型号

---
 src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml b/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml
index 0cdda33..aba3340 100644
--- a/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml
+++ b/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml
@@ -15,9 +15,11 @@
     </resultMap>
     <select id="listBinding" resultType="com.ruoyi.quality.dto.QualityTestStandardBindingDto">
         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