From fb4d9f5196471a7b202b3df69aaf9c8cf50b3377 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 13 三月 2024 16:58:24 +0800 Subject: [PATCH] 修改数据计算面积接口 --- src/main/resources/mapper/show/OneMapMapper.xml | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/mapper/show/OneMapMapper.xml b/src/main/resources/mapper/show/OneMapMapper.xml index 1c57857..6459d8b 100644 --- a/src/main/resources/mapper/show/OneMapMapper.xml +++ b/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 = '鏁板瓧姝e皠褰卞儚鍥�' limit 1) + where a.area is null and a.type in ('img', 'tif', 'tiff') and b.name = '鏁板瓧姝e皠褰卞儚鍥�') 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> \ No newline at end of file -- Gitblit v1.9.3