From d1bcbbefab4da603c275ed61d0018a46dbc67d1e Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期三, 12 十月 2022 16:31:51 +0800 Subject: [PATCH] 施工交付增加其他录入交付功能 --- ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml index f17d593..663ff90 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml @@ -20,4 +20,11 @@ <result property="updateTime" column="update_time"/> </resultMap> -</mapper> \ No newline at end of file + <select id="queryDictTextByKey" resultType="java.lang.String"> + select s.dict_label from sys_dict_data s where s.dict_type = #{code} and s.dict_value = #{key} + </select> + + <select id="queryTableDictTextByKey" resultType="java.lang.String"> + select ${text} as "text" from ${table} where ${code}= #{key} + </select> +</mapper> -- Gitblit v1.9.1