管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-12-22 1a94cba1e248953613aea99496fae4222cafaaae
src/main/resources/mapper/data/MetaMapper.xml
@@ -5,8 +5,11 @@
        select count(*) from lf.sys_meta
        <where>
            1 = 1
            <if test="depid != null">
                and depid = ANY(fn_rec_array(#{depid}, 'dep'))
            </if>
            <if test="dirid != null">
                and dirid = #{dirid}
                and dirid = ANY(fn_rec_array(#{dirid}, 'dir'))
            </if>
            <if test="name != null">
                and name like #{name}
@@ -19,8 +22,11 @@
        from lf.sys_meta a
        <where>
            1 = 1
            <if test="depid != null">
                and depid = ANY(fn_rec_array(#{depid},'dep'))
            </if>
            <if test="dirid != null">
                and dirid = #{dirid}
                and dirid = ANY(fn_rec_array(#{dirid},'dir'))
            </if>
            <if test="name != null">
                and name like #{name}