管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-03-20 320d6edb14c475850ab6e2343bc51fa0a41a8f3c
src/main/resources/mapper/all/BaseQueryMapper.xml
@@ -79,4 +79,15 @@
        group by name
        order by key
    </select>
    <select id="selectAnnexByTab" resultType="com.lf.server.entity.sys.AttachEntity">
        select a.* from lf.sys_attach a
        <where>
            tab = #{tab}
            <if test="gids != null">
                and tab_guid in (select eventid from ${tab} where gid in (${gids}))
            </if>
        </where>
        order by a.id
    </select>
</mapper>