ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
@@ -140,4 +140,12 @@ from sys_dict_type where dict_name = #{dictName} </select> <!-- 根据字典编号, 字典值value查询label内容 --> <select id="selectLabelByDict" resultType="java.lang.String"> select dict_label from sys_dict_data where dict_type = #{dictType} and dict_value = #{dictValue} </select> </mapper>