From ba82d296ae3f3e5fd7e14907aab2103418d37011 Mon Sep 17 00:00:00 2001
From: xieb <vip_xiaobin810@163.com>
Date: Wed, 03 Apr 2024 10:05:37 +0800
Subject: [PATCH] 生成航线文件

---
 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