| | |
| | | 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(); |
| | | } |
| | | } |
| | | |
| | | } |