| | |
| | | return ResultMessage.fail(ResponseCodeEnum.PARAMETERS_IS_MISSING.getCode(), ResponseCodeEnum.PARAMETERS_IS_MISSING.getMsg()); |
| | | } |
| | | |
| | | |
| | | return null; |
| | | } |
| | | |
| | |
| | | * 查询坐标点 |
| | | * @return |
| | | */ |
| | | @GetMapping("select") |
| | | @PostMapping("select") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "token", value = "token", required = true, paramType = "header", dataType = "String"), |
| | | @ApiImplicitParam(name = "coordinateId", value = "路段id", required = true, paramType = "query", dataType = "String"), |
| | |
| | | if (!params.containsKey("coordinateId") || !params.containsKey("time1")|| !params.containsKey("time2")) { |
| | | return ResultMessage.fail(ResponseCodeEnum.PARAMETERS_IS_MISSING.getCode(), ResponseCodeEnum.PARAMETERS_IS_MISSING.getMsg()); |
| | | } |
| | | Map<String, Object> map = manageCoordinateDetailService.selectCoordinate(params); |
| | | return null; |
| | | Map<String,Object> rsMap = manageCoordinateDetailService.selectCoordinate(params); |
| | | return ResultMessage.ok(rsMap); |
| | | } |
| | | } |