| | |
| | | @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 itemId) throws IOException { |
| | | List<LotInfo> list=shpToDataSourceServiceImpl.insertGeo(file,itemId); |
| | | return ResponseResult.success(list); |
| | | } |
| | | |