From bb206e9e0c05e7d3d5d989ecb6cd40cd293b6795 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期五, 16 十月 2026 14:34:09 +0800
Subject: [PATCH] 修复核查计划明细导出异常:未录入记录时友好提示而非报错500

---
 ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
index c030479..6ed730a 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
@@ -107,4 +107,11 @@
 		where dict_name = #{dictName}
 	</select>
 
+	<select id="selectLabelByDict" resultType="java.lang.String">
+		select dict_label
+		from sys_dict_data
+		where dict_type = #{dictType}
+		  and dict_value = #{dictValue}
+	</select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3