Browse Source

更新

master
gengby 2 years ago
parent
commit
8c056ee9d6
  1. 16
      acs/nladmin-system/src/main/java/org/nl/hand/amb/rest/HFHandController.java

16
acs/nladmin-system/src/main/java/org/nl/hand/amb/rest/HFHandController.java

@ -25,7 +25,7 @@ import java.util.Map;
@RestController @RestController
@RequiredArgsConstructor @RequiredArgsConstructor
@Api(tags = "手持接口") @Api(tags = "手持接口")
@RequestMapping("/api/hand") @RequestMapping("/api")
@Slf4j @Slf4j
public class HFHandController { public class HFHandController {
private final HFHandService HandService; private final HFHandService HandService;
@ -39,10 +39,10 @@ public class HFHandController {
return new ResponseEntity<>(HandService.queryArea(null), HttpStatus.OK); return new ResponseEntity<>(HandService.queryArea(null), HttpStatus.OK);
} }
@PostMapping("/queryDevice") @PostMapping("/pda/queryDevice")
@Log("查询区域点位") @Log("查询区域点位")
@ApiOperation("查询区域点位") @ApiOperation("查询区域点位")
@SaIgnore //@SaIgnore
//@PreAuthorize("@el.check('sect:list')") //@PreAuthorize("@el.check('sect:list')")
public ResponseEntity<Object> queryDevice() { public ResponseEntity<Object> queryDevice() {
return new ResponseEntity<>(HandService.queryPoint(), HttpStatus.OK); return new ResponseEntity<>(HandService.queryPoint(), HttpStatus.OK);
@ -89,7 +89,7 @@ public class HFHandController {
return new ResponseEntity<>(HandService.queryTaskType(), HttpStatus.OK); return new ResponseEntity<>(HandService.queryTaskType(), HttpStatus.OK);
} }
@PostMapping("/tasks") @PostMapping("/axg/hand/tasks")
@Log("查询任务") @Log("查询任务")
@ApiOperation("查询任务") @ApiOperation("查询任务")
@SaIgnore @SaIgnore
@ -99,7 +99,7 @@ public class HFHandController {
return new ResponseEntity<>(HandService.queryTask(whereJson), HttpStatus.OK); return new ResponseEntity<>(HandService.queryTask(whereJson), HttpStatus.OK);
} }
@PostMapping("/insts") @PostMapping("/axg/hand/insts")
@Log("查询指令") @Log("查询指令")
@ApiOperation("查询指令") @ApiOperation("查询指令")
@SaIgnore @SaIgnore
@ -118,7 +118,7 @@ public class HFHandController {
return new ResponseEntity<>(HandService.queryRouteplanType(), HttpStatus.OK); return new ResponseEntity<>(HandService.queryRouteplanType(), HttpStatus.OK);
} }
@PostMapping("/task") @PostMapping("/pda/task")
@Log("创建任务") @Log("创建任务")
@ApiOperation("创建任务") @ApiOperation("创建任务")
@SaIgnore @SaIgnore
@ -127,7 +127,7 @@ public class HFHandController {
return new ResponseEntity<>(HandService.createTask(whereJson), HttpStatus.OK); return new ResponseEntity<>(HandService.createTask(whereJson), HttpStatus.OK);
} }
@PostMapping("/inst") @PostMapping("/axg/hand/inst")
@Log("指令操作") @Log("指令操作")
@ApiOperation("指令操作") @ApiOperation("指令操作")
@SaIgnore @SaIgnore
@ -136,7 +136,7 @@ public class HFHandController {
return new ResponseEntity<>(HandService.Instoperation(whereJson), HttpStatus.OK); return new ResponseEntity<>(HandService.Instoperation(whereJson), HttpStatus.OK);
} }
@PostMapping("/taskoperation") @PostMapping("/axg/hand/taskoperation")
@Log("任务操作") @Log("任务操作")
@ApiOperation("任务操作") @ApiOperation("任务操作")
@SaIgnore @SaIgnore

Loading…
Cancel
Save