| | |
| | | @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); |
| | | } |
| | | |