管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-11-23 a806b230101ab24063227fc7c9357e82240be881
1
已修改2个文件
10 ■■■■ 文件已修改
data/db_fn.sql 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/data/DictMapper.xml 8 ●●●● 补丁 | 查看 | 原始文档 | 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>