| | |
| | | return AjaxResult.success(result); |
| | | } |
| | | |
| | | @PostMapping("/sendCheckCommandersPosition") |
| | | @GetMapping("/getOnlineCommanderPosition") |
| | | @ApiOperation("单兵端查看已通过审批的在线指挥端位置") |
| | | public AjaxResult getOnlineCommanderPosition() { |
| | | String soilderId = SecurityUtils.getUserId(); |
| | | try{ |
| | | List<Map<String,Object>> result = ardAppPositionService.getOnlineCommanderPosition(soilderId); |
| | | return AjaxResult.success(result); |
| | | }catch(Exception e){ |
| | | e.printStackTrace(); |
| | | return AjaxResult.error(); |
| | | } |
| | | } |
| | | |
| | | /*@PostMapping("/sendCheckCommandersPosition") |
| | | @ApiOperation("发起查看指挥端位置") |
| | | public AjaxResult sendCheckCommandersPosition(@RequestBody Map<String,Object> para) { |
| | | String usersId = SecurityUtils.getUserId(); |
| | |
| | | }catch(Exception e){ |
| | | return AjaxResult.error(); |
| | | } |
| | | } |
| | | }*/ |
| | | |
| | | @PostMapping("/sendCheckSYCarsPosition") |
| | | /*@PostMapping("/sendCheckSYCarsPosition") |
| | | @ApiOperation("发起查看车辆位置") |
| | | public AjaxResult sendCheckSYCarsPosition(@RequestBody Map<String,Object> para) { |
| | | String usersId = SecurityUtils.getUserId(); |
| | |
| | | }catch(Exception e){ |
| | | return AjaxResult.error(); |
| | | } |
| | | } |
| | | }*/ |
| | | |
| | | @GetMapping("/getCheckCommandersPosition") |
| | | /*@GetMapping("/getCheckCommandersPosition") |
| | | @ApiOperation("指挥端查看指挥端位置申请") |
| | | public AjaxResult getCheckCommandersPosition() {//弃用 |
| | | String usersId = SecurityUtils.getUserId(); |
| | |
| | | e.printStackTrace(); |
| | | return AjaxResult.error(); |
| | | } |
| | | } |
| | | }*/ |
| | | |
| | | @GetMapping("/getCheckSYCarsPosition") |
| | | /*@GetMapping("/getCheckSYCarsPosition") |
| | | @ApiOperation("指挥端查看车辆位置申请") |
| | | public AjaxResult getCheckSYCarsPosition() {//弃用 |
| | | String usersId = SecurityUtils.getUserId(); |
| | |
| | | e.printStackTrace(); |
| | | return AjaxResult.error(); |
| | | } |
| | | } |
| | | }*/ |
| | | |
| | | @GetMapping("/getCheckPosition") |
| | | /*@GetMapping("/getCheckPosition") |
| | | @ApiOperation("指挥端查看位置申请") |
| | | public AjaxResult getCheckPosition() { |
| | | String usersId = SecurityUtils.getUserId(); |
| | |
| | | e.printStackTrace(); |
| | | return AjaxResult.error(); |
| | | } |
| | | } |
| | | }*/ |
| | | |
| | | } |