| | |
| | | package com.xiaopeng.api.feignClient.vehicleConvoy; |
| | | |
| | | import com.xiaopeng.api.factory.vehicleConvoy.XpFleetOperationsClientFallbackFactory; |
| | | import com.xiaopeng.api.factory.vehicleConvoy.XpFleetVehicleClientFallbackFactory; |
| | | import com.xiaopeng.api.model.vehicleConvoy.XpFleet; |
| | | import com.xiaopeng.api.model.vehicleConvoy.XpFleetOperations; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.common.core.dto.ServiceNameConstantsEnum; |
| | |
| | | * @param id 运维人员id |
| | | * @return 车辆isd |
| | | */ |
| | | @GetMapping("/inner/fleet-operations/getVehicleByUserId/{id}") |
| | | @GetMapping("/logan/inner/fleet-operations/getVehicleByUserId/{id}") |
| | | R<List<Long>> getVehicleByUserId(@PathVariable("id") Long id); |
| | | |
| | | /** |
| | | * 根据人员id 获取所属车队 |
| | | * |
| | | * @param id 运维人员id |
| | | * @return 车辆isd |
| | | */ |
| | | @GetMapping("/logan/inner/fleet-operations/getFleetByUserId/{id}") |
| | | R<List<XpFleet>> getFleetByUserId(@PathVariable("id") Long id); |
| | | |
| | | /** |
| | | * 根据运维人员ID查询关联的车队ID列表 |
| | |
| | | * @param userId 运维人员ID |
| | | * @return 车队ID列表 |
| | | */ |
| | | @GetMapping("/inner/fleet-operations/getFleetIdsByUserId/{userId}") |
| | | @GetMapping("/logan/inner/fleet-operations/getFleetIdsByUserId/{userId}") |
| | | R<List<Long>> getFleetIdsByUserId(@PathVariable("userId") Long userId); |
| | | |
| | | |
| | |
| | | * @param fleetId 车队ID |
| | | * @return 运维人员ID列表 |
| | | */ |
| | | @GetMapping("/inner/fleet-operations/getOperationsIdsByFleetId/{fleetId}") |
| | | @GetMapping("/logan/inner/fleet-operations/getOperationsIdsByFleetId/{fleetId}") |
| | | R<List<Long>> getOperationsIdsByFleetId(@PathVariable("fleetId") Long fleetId); |
| | | /** |
| | | * 根据车队ID集合查询关联的运维人员ID列表 |
| | |
| | | * @param fleetIds 车队ID集合 |
| | | * @return 运维人员ID列表 |
| | | */ |
| | | @PostMapping("/inner/fleet-operations/getOperationsIdsByFleetIds") |
| | | @PostMapping("/logan/inner/fleet-operations/getOperationsIdsByFleetIds") |
| | | R<List<XpFleetOperations>> getOperationsIdsByFleetIds(@RequestBody List<Long> fleetIds); |
| | | } |