| | |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.system.service.ISysDeptService; |
| | | import com.ruoyi.system.service.ISysUserService; |
| | | import com.ruoyi.utils.pagehelper.JpaPageInfo; |
| | | import com.ruoyi.utils.result.Results; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | List<ArdAlarmpointsWell> list = ardAlarmpointsWellService.selectArdAlarmpointsWellList(ardAlarmpointsWell); |
| | | return success(list); |
| | | } |
| | | |
| | | /** |
| | | * 导出井管理列表 |
| | | */ |
| | |
| | | //根据deptId获取对应兴趣点数据 |
| | | return Results.succeed(ardAlarmpointsWellService.conditionList(ardAlarmpointsWellParam)); |
| | | } |
| | | |
| | | @PostMapping("/getNearbyWells") |
| | | @ApiOperation("查询附近的所有井") |
| | | @ApiOperationSupport(includeParameters = {"longitude","latitude","deptId","pageNum","pageSize"}) |
| | | public TableDataInfo getNearbyWells(ArdAlarmpointsWell ardAlarmpointsWell){ |
| | | startPage(); |
| | | List<ArdAlarmpointsWell> nearbyWellList = ardAlarmpointsWellService.getNearbyWellList(ardAlarmpointsWell,1000); |
| | | return getDataTable(nearbyWellList); |
| | | public AjaxResult getNearbyWells(Double[] position, Long deptId, Integer pageNum, Integer pageSize) { |
| | | JpaPageInfo jpaPageInfo = new JpaPageInfo(); |
| | | jpaPageInfo.setPageNum(pageNum); |
| | | jpaPageInfo.setPageSize(pageSize); |
| | | List<ArdAlarmpointsWell> nearbyWellList = ardAlarmpointsWellService.getNearbyWellList(position, deptId, 1000); |
| | | jpaPageInfo.doPage(nearbyWellList); |
| | | return AjaxResult.success(jpaPageInfo); |
| | | } |
| | | |
| | | } |