From eaaf1e7f6bcbae2e7152db7ea996d4d98d7b036e Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 03 七月 2023 14:54:02 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/service/data/MetaService.java |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/lf/server/service/data/MetaService.java b/src/main/java/com/lf/server/service/data/MetaService.java
index d05fb0d..0b6dc99 100644
--- a/src/main/java/com/lf/server/service/data/MetaService.java
+++ b/src/main/java/com/lf/server/service/data/MetaService.java
@@ -115,8 +115,8 @@
     }
 
     @Override
-    public MetaEntity selectByGuid(String guid, String tab) {
-        return metaMapper.selectByGuid(guid, tab);
+    public MetaEntity selectByGuid(String guid, String dircode, String tab) {
+        return metaMapper.selectByGuid(guid, dircode, tab);
     }
 
     @Override
@@ -239,6 +239,9 @@
             if (str.contains("bs.s_explorationpoint ")) {
                 list.add(str.replace("bs.s_explorationpoint ", "bs.s_surveyworksite "));
             }
+            if (str.contains("bs.m_surface_deformation_data ")) {
+                list.add(str.replace("bs.m_surface_deformation_data ", "bs.m_surface_deformation_data_date "));
+            }
 
             i++;
         }
@@ -270,7 +273,7 @@
                 return;
             }
 
-            MetaEntity me = selectByGuid(guid, null);
+            MetaEntity me = selectByGuid(guid, null, null);
             if (me == null) {
                 WebHelper.writeStr2Page(res, StaticData.NO_FILE);
                 return;
@@ -524,6 +527,8 @@
                         addMultiFile(uploadPath, mf, zip, params, StaticData.SHP_EXT);
                         break;
                     case StaticData.GDB:
+                        continue;
+                    case StaticData.OSGB:
                         addFolderFile(uploadPath, mf, zip, params);
                         break;
                     default:
@@ -597,7 +602,7 @@
     private DownloadEntity getDownloadEntity(UserEntity ue, String file, String pwd) {
         DownloadEntity de = new DownloadEntity();
         de.setName(FileHelper.getFileName(file));
-        // 1-Shp鏂囦欢锛�2-涓撻鍥撅紝3-鍏冩暟鎹紝4-涓氬姟鏁版嵁锛�5-绠¢亾鍒嗘瀽锛�6-缁熻鎶ュ憡
+        // 1-Shp鏂囦欢锛�2-涓撻鍥撅紝3-鍏冩暟鎹紝4-涓氬姟鏁版嵁锛�5-绠¢亾鍒嗘瀽锛�6-缁熻鎶ュ憡锛�7-闄勪欢鏂囦欢锛�8-鐡︾墖鏂囦欢
         de.setType(3);
         de.setSizes(FileHelper.sizeToMb(new File(file).length()));
         de.setDepid(ue.getDepid());

--
Gitblit v1.9.3