管道基础大数据平台系统开发-【后端】-Server
13693261870
2024-03-13 fb4d9f5196471a7b202b3df69aaf9c8cf50b3377
src/main/resources/mapper/show/OneMapMapper.xml
@@ -319,18 +319,18 @@
    <select id="selectMetaByType" resultType="java.util.Map">
        (select a.id, a.path, 'DOM' type from lf.sys_meta a
            inner join lf.sys_dir b on a.dircode = b.code
            where a.area is null and a.type in ('img', 'tif', 'tiff') and b.name = '数字正射影像图' limit 1)
            where a.area is null and a.type in ('img', 'tif', 'tiff') and b.name = '数字正射影像图')
        union all
        (select a.id, a.path, 'DEM' type from lf.sys_meta a
            inner join lf.sys_dir b on a.dircode = b.code
            where a.area is null and a.type in ('dem', 'tif', 'tiff') and b.name = '数字高程模型' limit 1)
            where a.area is null and a.type in ('dem', 'tif', 'tiff') and b.name = '数字高程模型')
        union all
        (select id, path, 'OSGB' type from lf.sys_meta where area is null and type = 'osgb' limit 1)
        (select id, path, 'OSGB' type from lf.sys_meta where area is null and type = 'osgb')
        union all
        (select id, path, 'LAS' type from lf.sys_meta where area is null and type = 'las' or type = 'laz' limit 1)
        (select id, path, 'LAS' type from lf.sys_meta where area is null and (type = 'las' or type = 'laz'))
        union all
        (select id, path, 'IFC' type from lf.sys_meta where area is null and type = 'ifc' limit 1)
        (select id, path, 'IFC' type from lf.sys_meta where area is null and type = 'ifc')
        union all
        (select id, path, 'FBX' type from lf.sys_meta where area is null and type = 'fbx' limit 1)
        (select id, path, 'FBX' type from lf.sys_meta where area is null and type = 'fbx')
    </select>
</mapper>