rain
2024-04-01 35cb086a6e05bf0b6e2a6831330fbcd2c740eba7
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);
    }