| | |
| | | * 车辆运维-车辆运维-开始自检 |
| | | */ |
| | | @ApiOperation(value = "车辆运维-车辆运维-开始自检", tags = {"运维APP-车辆管理"}) |
| | | @GetMapping("/api/v1/vehicleDetection/startDetection") |
| | | @GetMapping("/maintenance-app/api/v1/vehicleDetection/startDetection") |
| | | public R<Map<String, Integer>> startDetection(@RequestParam Long vehicleId) { |
| | | |
| | | // TODO 开始自检 |
| | |
| | | @Transactional |
| | | @ShardingSphereTransactionType(TransactionType.BASE) |
| | | @ApiOperation(value = "车辆运维-车辆运维-车辆检测提交", tags = {"运维APP-车辆管理"}) |
| | | @PostMapping("/api/v1/vehicleDetection/saveDetection") |
| | | @PostMapping("/maintenance-app/api/v1/vehicleDetection/saveDetection") |
| | | public R<String> saveDetection(@RequestBody XpVehicleDetectionDTO dto) { |
| | | Long id = tokenService.getLoginOperationUser().getId(); |
| | | dto.setOperationsUserId(id); |
| | |
| | | * 车辆运维-车辆运维-检测记录详情 |
| | | */ |
| | | @ApiOperation(value = "车辆运维-运维记录-检测记录详情", tags = {"运维APP-车辆管理"}) |
| | | @GetMapping("/api/v1/vehicleDetection/detectionDetail") |
| | | @GetMapping("/maintenance-app/api/v1/vehicleDetection/detectionDetail") |
| | | public R<XpVehicleDetectionVO> detectionDetail(@RequestParam Long id) throws UnsupportedEncodingException { |
| | | XpVehicleDetectionVO xpVehicleDetectionVO = xpVehicleDetectionService.detectionDetail(id); |
| | | |