| | |
| | | return ResponseUtil.successPage(list); |
| | | } |
| | | |
| | | @GetMapping("listPoleAndState") |
| | | @GetMapping("/listPoleAndState") |
| | | public ResponseVO<Object> listPoleAndState(BaseConditionVO baseConditionVO, @RequestParam(value = "keyword", required = false) String keyword) { |
| | | PageHelper.startPage(baseConditionVO.getPageNo(), baseConditionVO.getPageSize()); |
| | | |
| | |
| | | /** |
| | | * 设置三元码 |
| | | */ |
| | | @PostMapping("/setMac") |
| | | @PostMapping("/setMac/{baseMac}") |
| | | public ResponseVO<Object> setMac(@PathVariable String baseMac) { |
| | | //public ResponseVO<Object> setMac() { |
| | | return ResponseUtil.success(poleService.setMac(baseMac)); |
| | |
| | | return ResponseUtil.success(statusList); |
| | | } |
| | | |
| | | @GetMapping("/ClientBindingPole") |
| | | public ResponseVO<Object> ClientBindingPole(@RequestParam long clientId, @RequestParam int poleId) { |
| | | @PostMapping("/ClientBindingPole") |
| | | public ResponseVO<Object> ClientBindingPole(@RequestBody long clientId, @RequestBody int[] poleIds) { |
| | | |
| | | return ResponseUtil.success(poleService.ClientBindingPole(clientId, poleId)); |
| | | return ResponseUtil.success(poleService.ClientBindingPole(clientId, poleIds));////////////// |
| | | } |
| | | |
| | | |