From 9a13ae0df0cec90eaa81fe56a9df16b4d966d824 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期四, 02 四月 2026 17:35:32 +0800
Subject: [PATCH] 质检新增批次号、规格型号、生产日期、有效期字段
---
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..e8494eb 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