From f62b1714751bd58f7d955b9861899141d8835b7d Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Tue, 02 Apr 2024 09:10:25 +0800
Subject: [PATCH] 统一workspaceId传入

---
 src/main/java/com/dji/sample/patches/controller/ShpToDataSourceController.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/dji/sample/patches/controller/ShpToDataSourceController.java b/src/main/java/com/dji/sample/patches/controller/ShpToDataSourceController.java
index 97e77af..3ee3772 100644
--- a/src/main/java/com/dji/sample/patches/controller/ShpToDataSourceController.java
+++ b/src/main/java/com/dji/sample/patches/controller/ShpToDataSourceController.java
@@ -17,8 +17,8 @@
     @Autowired
     private ShpToDataSourceServiceImpl shpToDataSourceServiceImpl;
     @PostMapping("/getGeo")
-    public ResponseResult<List<LotInfo>> getGeo (@RequestParam("file") MultipartFile file) throws IOException {
-        List<LotInfo> list=shpToDataSourceServiceImpl.insertGeo(file);
+    public ResponseResult<List<LotInfo>> getGeo (@RequestParam("file") MultipartFile file,@RequestParam String workspaceId) throws IOException {
+        List<LotInfo> list=shpToDataSourceServiceImpl.insertGeo(file,workspaceId);
         return  ResponseResult.success(list);
     }
 

--
Gitblit v1.9.3