| | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import com.ruoyi.alarmpoints.well.domain.ArdAlarmpointsWell; |
| | | import com.ruoyi.alarmpoints.well.domain.ArdAlarmpointsWellParam; |
| | | import com.ruoyi.alarmpoints.well.service.IArdAlarmpointsWellService; |
| | |
| | | } |
| | | @PostMapping("/getNearbyWells") |
| | | @ApiOperation("查询附近的所有井") |
| | | public TableDataInfo getNearbyWells(Long deptId,Double[]position){ |
| | | @ApiOperationSupport(includeParameters = {"longitude","latitude","deptId","pageNum","pageSize"}) |
| | | public TableDataInfo getNearbyWells(ArdAlarmpointsWell ardAlarmpointsWell){ |
| | | startPage(); |
| | | List<ArdAlarmpointsWell> nearbyWellList = ardAlarmpointsWellService.getNearbyWellList(deptId,position,1000); |
| | | List<ArdAlarmpointsWell> nearbyWellList = ardAlarmpointsWellService.getNearbyWellList(ardAlarmpointsWell,1000); |
| | | return getDataTable(nearbyWellList); |
| | | } |
| | | |