From 966b8ec80833c3281a41370a29960156a73360c7 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 13 三月 2024 10:20:13 +0800
Subject: [PATCH] 添加 数据自动计算 接口

---
 src/main/resources/mapper/show/OneMapMapper.xml |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/main/resources/mapper/show/OneMapMapper.xml b/src/main/resources/mapper/show/OneMapMapper.xml
index c19e372..1c57857 100644
--- a/src/main/resources/mapper/show/OneMapMapper.xml
+++ b/src/main/resources/mapper/show/OneMapMapper.xml
@@ -317,20 +317,20 @@
 
     <!-- 鏍规嵁绫诲瀷鏌ヨ鍏冩暟鎹紙鐢ㄤ簬璁$畻闈㈢Н锛� -->
     <select id="selectMetaByType" resultType="java.util.Map">
-        (select a.id, a.path, 'DOM' name from lf.sys_meta a
+        (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皠褰卞儚鍥�')
+            where a.area is null and a.type in ('img', 'tif', 'tiff') and b.name = '鏁板瓧姝e皠褰卞儚鍥�' limit 1)
         union all
-        (select a.id, a.path, 'DEM' name from lf.sys_meta a
+        (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 = '鏁板瓧楂樼▼妯″瀷')
+            where a.area is null and a.type in ('dem', 'tif', 'tiff') and b.name = '鏁板瓧楂樼▼妯″瀷' limit 1)
         union all
-        (select id, path, 'OSGB' name from lf.sys_meta where area is null and type = 'osgb')
+        (select id, path, 'OSGB' type from lf.sys_meta where area is null and type = 'osgb' limit 1)
         union all
-        (select id, path, 'LAS' name from lf.sys_meta where area is null and type = 'las' or type = 'laz')
+        (select id, path, 'LAS' type from lf.sys_meta where area is null and type = 'las' or type = 'laz' limit 1)
         union all
-        (select id, path, 'IFC' name from lf.sys_meta where area is null and type = 'ifc')
+        (select id, path, 'IFC' type from lf.sys_meta where area is null and type = 'ifc' limit 1)
         union all
-        (select id, path, 'FBX' name from lf.sys_meta where area is null and type = 'fbx')
+        (select id, path, 'FBX' type from lf.sys_meta where area is null and type = 'fbx' limit 1)
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3