| | |
| | | * 车辆详情-车辆运维-车辆送修 |
| | | */ |
| | | @ApiOperation(value = "车辆运维-车辆运维-车辆送修", tags = {"运维APP-车辆管理"}) |
| | | @PostMapping("/api/v1/vehicleRepair/saveRepair") |
| | | @PostMapping("/maintenance-app/api/v1/vehicleRepair/saveRepair") |
| | | public R<String> saveRepair(@Validated @RequestBody XpVehicleRepairStartDTO dto) { |
| | | |
| | | Long id = tokenService.getLoginOperationUser().getId(); |
| | |
| | | * 车辆详情-车辆运维-车辆取回 |
| | | */ |
| | | @ApiOperation(value = "车辆运维-车辆运维-车辆取回", tags = {"运维APP-车辆管理"}) |
| | | @PostMapping("/api/v1/vehicleRepair/saveReturnRepair") |
| | | @PostMapping("/maintenance-app/api/v1/vehicleRepair/saveReturnRepair") |
| | | public R<String> saveReturnRepair(@Validated @RequestBody XpVehicleRepairReturnDTO dto) { |
| | | Long id = tokenService.getLoginOperationUser().getId(); |
| | | if (dto.getRepairMoney()>99999999.99) { |
| | |
| | | * 车辆详情-车辆运维-查询车辆维修状态 |
| | | */ |
| | | @ApiOperation(value = "车辆运维-车辆运维-查询车辆维修状态", tags = {"运维APP-车辆管理"}) |
| | | @GetMapping("/api/v1/vehicleRepair/queryRepairStatus") |
| | | @GetMapping("/maintenance-app/api/v1/vehicleRepair/queryRepairStatus") |
| | | public R<RepairStatusVO> queryRepairStatus(@RequestParam Long vehicleId) { |
| | | Long id = tokenService.getLoginOperationUser().getId(); |
| | | RepairStatusVO repairStatusVO = xpVehicleRepairService.queryRepairStatus(vehicleId); |
| | |
| | | * 车辆运维-车辆运维-维修记录详情 |
| | | */ |
| | | @ApiOperation(value = "车辆运维-运维记录-维修记录详情", tags = {"运维APP-车辆管理"}) |
| | | @GetMapping("/api/v1/vehicleRepair/repairDetail") |
| | | @GetMapping("/maintenance-app/api/v1/vehicleRepair/repairDetail") |
| | | public R<XpVehicleRepairVO> repairDetail(@RequestParam Long id) throws UnsupportedEncodingException { |
| | | XpVehicleRepairVO xpVehicleRepairVO = xpVehicleRepairService.repairDetail(id); |
| | | |