| | |
| | | public ResponseResult patchesToWayline(@RequestBody List<LotInfo> list, |
| | | @RequestParam String waylineName, |
| | | @RequestParam String workspaceId, |
| | | @RequestParam String PatchesId, |
| | | @RequestParam String spotInFreckle, |
| | | @RequestParam double lat, |
| | | @RequestParam double lon, |
| | | HttpServletRequest request) throws IOException { |
| | | CustomClaim customClaim = (CustomClaim) request.getAttribute(TOKEN_CLAIM); |
| | | String creator = customClaim.getUsername(); |
| | | MultipartFile file = timerUtil.getFile(waylineName, list,lat,lon); |
| | | waylineFileService.importKmzFileBack(file, workspaceId, creator); |
| | | waylineFileService.importKmzFile(file, workspaceId, creator,PatchesId,spotInFreckle); |
| | | WaylineFileEntity entity = waylineFileService.selectByName(waylineName); |
| | | Map<String, String> infoMap = new HashMap<>(); |
| | | URL url = null; |