@GetMapping("/getTzOwnerCarByCarId") public ResponseEntity<Result> getTzOwnerCarByCarId(@RequestParam(name = "carId") @ApiParam("carId") String carId){ Map<String, Object> map = new HashMap<>(); OwnerCar ownerCar = ownerCarService.getById(carId); map.put("ownerCar",ownerCar); ParkingSpace pa = parkingSpaceService.getById(ownerCar.getPsId()); map.put("parkingSpace",pa); return ResponseEntity.ok(ResultUtil.success(map)); }