From 53edb16da9103f717a3beb28de8de1ebcb00157b Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期四, 12 三月 2026 15:40:01 +0800
Subject: [PATCH] fix(staff): 修复员工状态更新时未同步删除标志的问题

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

diff --git a/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml b/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml
index 6ba77c5..0cdda33 100644
--- a/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml
+++ b/src/main/resources/mapper/quality/QualityTestStandardBindingMapper.xml
@@ -14,7 +14,8 @@
         <result column="tenant_id" property="tenantId"/>
     </resultMap>
     <select id="listBinding" resultType="com.ruoyi.quality.dto.QualityTestStandardBindingDto">
-        select *
+        select t2.product_name,
+               t1.id qualityTestStandardBindingId
         from quality_test_standard_binding t1
                  left join product t2 on t1.product_id = t2.id
         where t1.test_standard_id = #{testStandardId}

--
Gitblit v1.9.3