rain
2024-04-02 f62b1714751bd58f7d955b9861899141d8835b7d
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,@RequestParam String itemId) throws IOException {
        List<LotInfo> list=shpToDataSourceServiceImpl.insertGeo(file,itemId);
    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);
    }