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