管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-03-20 52bb9f2a447abcd960a744ecad0dc082c4b412ca
1
已修改8个文件
54 ■■■■ 文件已修改
src/main/resources/mapper/all/BaseQueryMapper.xml 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/data/DictMapper.xml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/data/DirMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/data/DomainMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/data/DownloadMapper.xml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/data/MetaMapper.xml 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/data/StyleMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/data/VerMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/all/BaseQueryMapper.xml
@@ -5,7 +5,7 @@
        select id,uname "name" from lf.sys_user
        <where>
            <if test="name != null">
                uname like #{name}
                upper(uname) like #{name}
            </if>
        </where>
        order by uname limit 10
@@ -15,7 +15,7 @@
        select id,name from lf.sys_dep
        <where>
            <if test="name != null">
                name like #{name}
                upper(name) like #{name}
            </if>
        </where>
        order by order_num limit 10
@@ -26,7 +26,7 @@
        <where>
            field = #{field} and status = 0
            <if test="tab != null">
                and tab like #{tab} or tab_desc like #{tab}
                and upper(tab) like #{tab} or upper(tab_desc) like #{tab}
            </if>
        </where>
    </select>
@@ -37,7 +37,7 @@
        <where>
            field = #{field} and status = 0
            <if test="tab != null">
                and (tab like #{tab} or tab_desc like #{tab})
                and (upper(tab) like #{tab} or upper(tab_desc) like #{tab})
            </if>
        </where>
        order by id
@@ -73,7 +73,7 @@
        <where>
            name in ('基础测绘', '基础地灾', '基础勘察', '合规数据', '管理数据', '测量(ESV)', '勘察(EGE)', '地灾(EGD)', '洞库(EGD)')
            <if test="name != null">
                and name like #{name}
                and upper(name) like #{name}
            </if>
        </where>
        group by name
src/main/resources/mapper/data/DictMapper.xml
@@ -9,7 +9,7 @@
                and ns = #{ns}
            </if>
            <if test="tab != null">
                and tab like #{tab}
                and upper(tab) like #{tab}
            </if>
        </where>
    </select>
@@ -22,7 +22,7 @@
                and ns = #{ns}
            </if>
            <if test="tab != null">
                and tab like #{tab}
                and upper(tab) like #{tab}
            </if>
        </where>
        order by ns,tab,id
@@ -39,7 +39,7 @@
        <where>
            field = #{field} and status = 0
            <if test="name != null">
                and (tab like #{name} or tab_desc like #{name})
                and (upper(tab) like #{name} or upper(tab_desc) like #{name})
            </if>
        </where>
        order by id;
src/main/resources/mapper/data/DirMapper.xml
@@ -22,7 +22,7 @@
        <where>
            pid = 0
            <if test="name != null">
                and name like #{name}
                and upper(name) like #{name}
            </if>
        </where>
        order by order_num;
src/main/resources/mapper/data/DomainMapper.xml
@@ -11,7 +11,7 @@
            and b.tab = #{tab}
        </if>
        <if test="name != null">
            and (dom_desc like #{name} or dom_name like #{name})
            and (upper(dom_desc) like #{name} or upper(dom_name) like #{name})
        </if>
    </select>
@@ -25,7 +25,7 @@
            and b.tab = #{tab}
        </if>
        <if test="name != null">
            and (dom_desc like #{name} or dom_name like #{name})
            and (upper(dom_desc) like #{name} or upper(dom_name) like #{name})
        </if>
        order by b.tab,a.dom_name,a.dom_code
        limit #{limit} offset #{offset}
src/main/resources/mapper/data/DownloadMapper.xml
@@ -5,7 +5,7 @@
        select count(*) from lf.sys_download
        <where>
            <if test="name != null">
                name like #{name}
                upper(name) like #{name} or upper(descr) like #{name}
            </if>
        </where>
    </select>
@@ -14,7 +14,7 @@
        select * from lf.sys_download
        <where>
            <if test="name != null">
                name like #{name}
                upper(name) like #{name} or upper(descr) like #{name}
            </if>
        </where>
        order by id desc
@@ -26,7 +26,7 @@
        <where>
            create_user = #{createUser} and type = #{type}
            <if test="name != null">
                and name like #{name}
                and (upper(name) like #{name} or upper(descr) like #{name})
            </if>
        </where>
    </select>
@@ -36,7 +36,7 @@
        <where>
            create_user = #{createUser} and type = #{type}
            <if test="name != null">
                and name like #{name}
                and (upper(name) like #{name} or upper(descr) like #{name})
            </if>
        </where>
        order by id desc
src/main/resources/mapper/data/MetaMapper.xml
@@ -15,7 +15,7 @@
                and verid = #{verid}
            </if>
            <if test="name != null">
                and name like #{name}
                and upper(name) like #{name}
            </if>
        </where>
    </select>
@@ -35,7 +35,7 @@
                and verid = #{verid}
            </if>
            <if test="name != null">
                and name like #{name}
                and upper(name) like #{name}
            </if>
        </where>
        order by id desc
@@ -53,7 +53,7 @@
                and (${dirs})
            </if>
            <if test="name != null">
                and name like #{name}
                and upper(name) like #{name}
            </if>
        </where>
    </select>
@@ -73,7 +73,7 @@
                and (${dirs})
            </if>
            <if test="name != null">
                and name like #{name}
                and upper(name) like #{name}
            </if>
        </where>
        order by id desc
@@ -88,7 +88,7 @@
                and type in (${types})
            </if>
            <if test="name != null">
                and name like #{name}
                and upper(name) like #{name}
            </if>
        </where>
    </select>
@@ -102,7 +102,7 @@
                and type in (${types})
            </if>
            <if test="name != null">
                and name like #{name}
                and upper(name) like #{name}
            </if>
        </where>
        order by id desc
@@ -114,7 +114,7 @@
        <where>
            metaid = #{metaid}
            <if test="name != null">
                and name like #{name}
                and upper(name) like #{name}
            </if>
        </where>
    </select>
@@ -125,7 +125,7 @@
        <where>
            metaid = #{metaid}
            <if test="name != null">
                and name like #{name}
                and upper(name) like #{name}
            </if>
        </where>
        order by id desc
src/main/resources/mapper/data/StyleMapper.xml
@@ -5,7 +5,7 @@
        select count(*) from lf.sys_style
        <where>
            <if test="name != null">
                name like #{name}
                upper(name) like #{name}
            </if>
        </where>
    </select>
@@ -15,7 +15,7 @@
        from lf.sys_style a
        <where>
            <if test="name != null">
                a.name like #{name}
                upper(a.name) like #{name}
            </if>
        </where>
        order by a.id desc
src/main/resources/mapper/data/VerMapper.xml
@@ -10,7 +10,7 @@
                and a.dirid = ANY(fn_rec_array(#{dirid}, 'dir'))
            </if>
            <if test="name != null">
                and a.name like #{name}
                and upper(a.name) like #{name}
            </if>
        </where>
    </select>
@@ -24,7 +24,7 @@
                and a.dirid = ANY(fn_rec_array(#{dirid}, 'dir'))
            </if>
            <if test="name != null">
                and a.name like #{name}
                and upper(a.name) like #{name}
            </if>
        </where>
        order by id desc