| | |
| | | return R.ok(pageList); |
| | | } |
| | | |
| | | @PostMapping("/api/v1/testPoint/getByIds") |
| | | public R<List<XpTestPoint>> getByIds(@RequestBody XpPointExportExcelQuery query) { |
| | | List<XpTestPoint> list = xpTestPointService.lambdaQuery().in(XpTestPoint::getId, query.getPointIds()).list(); |
| | | return R.ok(list); |
| | | } |
| | | |
| | | /** |
| | | * 新增点位 |
| | | */ |
| | |
| | | public R<Boolean> nowInTimePoint(@RequestParam Long pointId){ |
| | | return R.ok(xpTestPointService.nowInTimePoint(pointId)); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 点位详情 |
| | | */ |
| | | @GetMapping("/api/v1/testPoint/queryPointById") |
| | | public R<List<XpTestPoint>> queryByIds(@RequestParam List<Long> ids){ |
| | | List<XpTestPoint> xpTestPoints = xpTestPointService.listByIds(ids); |
| | | return R.ok(xpTestPoints); |
| | | } |
| | | } |