From 7bfbdcdab10c58ecf96b45543c0d0df948af4ba5 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期二, 12 三月 2024 16:43:18 +0800 Subject: [PATCH] 修改根据类型查询元数据方法 --- src/main/resources/mapper/show/OneMapMapper.xml | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/resources/mapper/show/OneMapMapper.xml b/src/main/resources/mapper/show/OneMapMapper.xml index ff7812a..c19e372 100644 --- a/src/main/resources/mapper/show/OneMapMapper.xml +++ b/src/main/resources/mapper/show/OneMapMapper.xml @@ -316,21 +316,21 @@ </select> <!-- 鏍规嵁绫诲瀷鏌ヨ鍏冩暟鎹紙鐢ㄤ簬璁$畻闈㈢Н锛� --> - <select id="selectMetaByType" resultType="com.lf.server.entity.ctrl.IdNameEntity"> - (select a.id, 'DOM' name from lf.sys_meta a + <select id="selectMetaByType" resultType="java.util.Map"> + (select a.id, a.path, 'DOM' name 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 = '鏁板瓧姝e皠褰卞儚鍥�') union all - (select a.id, 'DEM' name from lf.sys_meta a + (select a.id, a.path, 'DEM' name 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 = '鏁板瓧楂樼▼妯″瀷') union all - (select id, 'OSGB' name from lf.sys_meta where area is null and type = 'osgb') + (select id, path, 'OSGB' name from lf.sys_meta where area is null and type = 'osgb') union all - (select id, 'LAS' name from lf.sys_meta where area is null and type = 'las' or type = 'laz') + (select id, path, 'LAS' name from lf.sys_meta where area is null and type = 'las' or type = 'laz') union all - (select id, 'IFC' name from lf.sys_meta where area is null and type = 'ifc') + (select id, path, 'IFC' name from lf.sys_meta where area is null and type = 'ifc') union all - (select id, 'FBX' name from lf.sys_meta where area is null and type = 'fbx') + (select id, path, 'FBX' name from lf.sys_meta where area is null and type = 'fbx') </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3