| | |
| | | |
| | | import com.xiaopeng.api.factory.vehicleConvoy.XpFleetOperationsClientFallbackFactory; |
| | | import com.xiaopeng.api.factory.vehicleConvoy.XpFleetVehicleClientFallbackFactory; |
| | | import com.xiaopeng.api.model.vehicleConvoy.XpFleetOperations; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.common.core.dto.ServiceNameConstantsEnum; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | */ |
| | | @GetMapping("/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") |
| | | R<List<XpFleetOperations>> getOperationsIdsByFleetIds(@RequestBody List<Long> fleetIds); |
| | | } |