data/db_fn.sql | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/mapper/data/DictMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
data/db_fn.sql
@@ -198,7 +198,7 @@ return ''; end if; return tab; return replace(tab, '_', ''); end; $$ language plpgsql; src/main/resources/mapper/data/DictMapper.xml
@@ -32,11 +32,11 @@ </select> <select id="selectDictTab" resultType="com.lf.server.entity.ctrl.TabEntity"> select distinct ns,tab,tab_desc from lf.sys_dict <where> <if test="name != null"> select distinct ns,tab,tab_desc,fn_get_entity(tab) entity from lf.sys_dict <where> <if test="name != null"> tab like #{name} or tab_desc like #{name} </if> </if> </where> </select>