| | |
| | | @PostMapping("/api/v1/testPoint/setSpecialPoint") |
| | | @ApiOperation(value = "设置特殊点位", tags = "后台管理-特殊点位") |
| | | @AdminOperationLog( |
| | | businessType = AdminBusinessType.TEST_POINT_MANAGEMENT, |
| | | businessType = AdminBusinessType.TEST_SPECIAL_POINT_MANAGEMENT, |
| | | operationType = AdminOperationType.EDIT, |
| | | content = "设置测试demo特殊点位", |
| | | appendRequestData = true |
| | |
| | | List<XpTestPoint> xpTestPoints = xpTestPointService.listByIds(query.getIds()); |
| | | return R.ok(xpTestPoints); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 编辑点位 |
| | | * @param xpPoint |
| | | * @return |
| | | */ |
| | | @PostMapping("/logan/inner/v1/testPoint/editTestPoint") |
| | | public R<?> editXpPoint(@RequestBody XpTestPoint xpPoint){ |
| | | xpTestPointService.updateById(xpPoint); |
| | | return R.ok(); |
| | | } |
| | | } |