huminmin
2026-06-05 4f45f29e6b53f4c01b414409c5000ff4e212b3d9
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>