| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/inner/v1/xp-test-plan/getXpTestPlanById") |
| | | @PostMapping("/logan/inner/v1/xp-test-plan/getXpTestPlanById") |
| | | public R<XpTestPlan> getXpTestPlanById(@RequestParam Long id){ |
| | | XpTestPlan xpTestPlan = xpTestPlanService.getById(id); |
| | | return R.ok(xpTestPlan); |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/inner/v1/xp-test-plan/getXpTestPlanPointById") |
| | | @PostMapping("/logan/inner/v1/xp-test-plan/getXpTestPlanPointById") |
| | | public R<XpTestPlanPoint> getXpTestPlanPointById(@RequestParam Long id){ |
| | | XpTestPlanPoint xpTestPlanPoint = xpTestPlanPointService.getById(id); |
| | | return R.ok(xpTestPlanPoint); |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 根据id获取测试计划点位 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/logan/inner/v1/xp-test-plan/getXpTestPointById") |
| | | public R<XpTestPoint> getXpTestPointById(@RequestParam Long id){ |
| | | XpTestPoint xpTestPoint = xpTestPointService.queryById(id).getData(); |
| | | return R.ok(xpTestPoint); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 根据测试计划获取车辆信息 |
| | | * @param testPlanId |
| | | * @return |
| | | */ |
| | | @PostMapping("/inner/v1/xp-test-plan/getXpTestPlanVehicleByTestPlanId") |
| | | @PostMapping("/logan/inner/v1/xp-test-plan/getXpTestPlanVehicleByTestPlanId") |
| | | public R<List<XpTestPlanVehicle>> getXpTestPlanVehicleByTestPlanId(@RequestParam Long testPlanId){ |
| | | List<XpTestPlanVehicle> xpTestPlanVehicleList = xpTestPlanVehicleService.lambdaQuery() |
| | | .eq(XpTestPlanVehicle::getTestPlanId, testPlanId) |