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