| | |
| | | package com.ruoyi.app.application.controller; |
| | | |
| | | import java.awt.geom.QuadCurve2D; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | return AjaxResult.error(); |
| | | } |
| | | } |
| | | |
| | | @GetMapping("/getSoilderAndCarPositionByCommanderIdNear") |
| | | @ApiOperation("PC端指挥端查看单兵端及车辆位置") |
| | | public AjaxResult getSoilderAndCarPositionByCommanderIdNear(@RequestBody Map<String, Double> para) { |
| | | String commanderId = SecurityUtils.getUserId(); |
| | | try{ |
| | | Map<String,Map<String,List<Map<String,Object>>>> result = ardAppApplicationService.getSoilderAndCarPositionByCommanderId(commanderId,para); |
| | | return AjaxResult.success(result); |
| | | }catch(Exception e){ |
| | | e.printStackTrace(); |
| | | return AjaxResult.error(); |
| | | } |
| | | } |
| | | } |