| | |
| | | List<Long> deptList = sysDeptService.deptIdBySub(sysUser.getDeptId()); |
| | | ardAlarmpointsWellParam.setDeptList(deptList); |
| | | //根据deptId获取对应兴趣点数据 |
| | | List<ArdAlarmpointsWell> list = ardAlarmpointsWellService.conditionList(ardAlarmpointsWellParam); |
| | | return Results.succeed(list); |
| | | return Results.succeed(ardAlarmpointsWellService.conditionList(ardAlarmpointsWellParam)); |
| | | } |
| | | |
| | | @PostMapping("/getNearbyWells") |
| | | @ApiOperation("查询附近的所有井") |
| | | public TableDataInfo getNearbyWells(Long deptId,Double[]position){ |
| | | startPage(); |
| | | List<ArdAlarmpointsWell> nearbyWellList = ardAlarmpointsWellService.getNearbyWellList(deptId,position,1000); |
| | | return getDataTable(nearbyWellList); |
| | | } |
| | | |
| | | } |