From f7b8a02843673c19e21b275d1c54e2a778bfedd4 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 08 四月 2026 11:05:41 +0800
Subject: [PATCH] 相同产品型号的生产订单批号需要唯一

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

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

--
Gitblit v1.9.3