From 5a44cc19254b49329c33bbe82446764cdcc6a7d5 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期五, 03 四月 2026 09:14:49 +0800
Subject: [PATCH] 质检新增检验用粉剂/液ID及规格型号ID

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

diff --git a/src/main/resources/mapper/quality/QualityInspectMapper.xml b/src/main/resources/mapper/quality/QualityInspectMapper.xml
index 27a69ce..63548cb 100644
--- a/src/main/resources/mapper/quality/QualityInspectMapper.xml
+++ b/src/main/resources/mapper/quality/QualityInspectMapper.xml
@@ -443,6 +443,23 @@
         ORDER BY rn;
 
     </select>
+    <select id="selectOneData" resultType="com.ruoyi.quality.pojo.QualityInspect">
+        select *,
+               case
+                   when inspect_material_condition = '妫�楠岀敤绮夊墏' then
+                       '鈽�'
+                   else
+                       '鈽�'
+                   end as inspect_material_condition_a,
+               case
+                   when inspect_material_condition = '妫�楠岀敤娑插墏' then
+                       '鈽�'
+                   else
+                       '鈽�'
+                   end as inspect_material_condition_b
+        from quality_inspect
+        where id = #{id};
+    </select>
 
 
 </mapper>

--
Gitblit v1.9.3